Builtin Library
- ..
- README.md863 B
- entrypoint.luau354 B
- scene.json140 B
README.md
assetTypes.testSuite.empty (scene)
Minimal v6 scene used by Test.useScene() as the default fixture for
per-test scene isolation.
- No entities.
- No player (
required_in_{edit,play} = false). - No camera (
required_in_{edit,play} = false). - Sky disabled, so the renderer doesn't pull in an editor-default skybox.
Test.useScene() reads this folder's body and copies it (skipping
.meta sidecars so the engine regenerates fresh guids per test
duplicate) into a unique sandbox path under Test.TMP_ROOT, then
layers.load's the duplicate. The duplicate's lifecycle is tied to the
current test: Test.afterEach unloads it and deletes the sandbox
copy.
If a test needs a richer setup (a player prototype, a Camera, a sky), it
passes an explicit opts.fixture path to Test.useScene() pointing at
its own fixture; otherwise it gets this empty shape.