@holoscript/core 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/LICENSE +21 -0
  2. package/dist/chunk-3N67RLQP.cjs +1298 -0
  3. package/dist/chunk-3N67RLQP.cjs.map +1 -0
  4. package/dist/chunk-3X2EGU7Z.cjs +52 -0
  5. package/dist/chunk-3X2EGU7Z.cjs.map +1 -0
  6. package/dist/chunk-4CV4JOE5.js +24 -0
  7. package/dist/chunk-4CV4JOE5.js.map +1 -0
  8. package/dist/chunk-4OHVW4XR.cjs +1027 -0
  9. package/dist/chunk-4OHVW4XR.cjs.map +1 -0
  10. package/dist/chunk-CZLDE2OZ.cjs +28 -0
  11. package/dist/chunk-CZLDE2OZ.cjs.map +1 -0
  12. package/{src/HoloScriptRuntime.ts → dist/chunk-EU6CZMGJ.js} +437 -794
  13. package/dist/chunk-EU6CZMGJ.js.map +1 -0
  14. package/dist/chunk-KWYIVRIH.js +344 -0
  15. package/dist/chunk-KWYIVRIH.js.map +1 -0
  16. package/dist/chunk-MCP6D4LT.js +1025 -0
  17. package/dist/chunk-MCP6D4LT.js.map +1 -0
  18. package/dist/chunk-SATNCODL.js +45 -0
  19. package/dist/chunk-SATNCODL.js.map +1 -0
  20. package/dist/chunk-VMZN4EVR.cjs +347 -0
  21. package/dist/chunk-VMZN4EVR.cjs.map +1 -0
  22. package/{src/HoloScriptDebugger.ts → dist/chunk-VYIDLUCV.js} +118 -257
  23. package/dist/chunk-VYIDLUCV.js.map +1 -0
  24. package/dist/chunk-WFI4T3XB.cjs +424 -0
  25. package/dist/chunk-WFI4T3XB.cjs.map +1 -0
  26. package/dist/debugger.cjs +20 -0
  27. package/dist/debugger.cjs.map +1 -0
  28. package/dist/debugger.d.cts +171 -0
  29. package/dist/debugger.d.ts +171 -0
  30. package/dist/debugger.js +7 -0
  31. package/dist/debugger.js.map +1 -0
  32. package/dist/index.cjs +6006 -0
  33. package/dist/index.cjs.map +1 -0
  34. package/dist/index.d.cts +2482 -0
  35. package/dist/index.d.ts +2482 -0
  36. package/dist/index.js +5926 -0
  37. package/dist/index.js.map +1 -0
  38. package/dist/parser.cjs +14 -0
  39. package/dist/parser.cjs.map +1 -0
  40. package/dist/parser.d.cts +139 -0
  41. package/dist/parser.d.ts +139 -0
  42. package/dist/parser.js +5 -0
  43. package/dist/parser.js.map +1 -0
  44. package/dist/runtime.cjs +14 -0
  45. package/dist/runtime.cjs.map +1 -0
  46. package/dist/runtime.d.cts +180 -0
  47. package/dist/runtime.d.ts +180 -0
  48. package/dist/runtime.js +5 -0
  49. package/dist/runtime.js.map +1 -0
  50. package/dist/type-checker.cjs +17 -0
  51. package/dist/type-checker.cjs.map +1 -0
  52. package/dist/type-checker.d.cts +105 -0
  53. package/dist/type-checker.d.ts +105 -0
  54. package/dist/type-checker.js +4 -0
  55. package/dist/type-checker.js.map +1 -0
  56. package/dist/types-D6g4ACjP.d.cts +262 -0
  57. package/dist/types-D6g4ACjP.d.ts +262 -0
  58. package/package.json +11 -8
  59. package/src/HoloScript2DParser.js +0 -227
  60. package/src/HoloScript2DParser.ts +0 -261
  61. package/src/HoloScriptCodeParser.js +0 -1102
  62. package/src/HoloScriptCodeParser.ts +0 -1188
  63. package/src/HoloScriptDebugger.js +0 -458
  64. package/src/HoloScriptParser.js +0 -338
  65. package/src/HoloScriptParser.ts +0 -397
  66. package/src/HoloScriptPlusParser.js +0 -371
  67. package/src/HoloScriptPlusParser.ts +0 -543
  68. package/src/HoloScriptRuntime.js +0 -1399
  69. package/src/HoloScriptRuntime.test.js +0 -351
  70. package/src/HoloScriptRuntime.test.ts +0 -436
  71. package/src/HoloScriptTypeChecker.js +0 -356
  72. package/src/HoloScriptTypeChecker.ts +0 -475
  73. package/src/__tests__/GraphicsServices.test.js +0 -357
  74. package/src/__tests__/GraphicsServices.test.ts +0 -427
  75. package/src/__tests__/HoloScriptPlusParser.test.js +0 -317
  76. package/src/__tests__/HoloScriptPlusParser.test.ts +0 -392
  77. package/src/__tests__/integration.test.js +0 -336
  78. package/src/__tests__/integration.test.ts +0 -416
  79. package/src/__tests__/performance.bench.js +0 -218
  80. package/src/__tests__/performance.bench.ts +0 -262
  81. package/src/__tests__/type-checker.test.js +0 -60
  82. package/src/__tests__/type-checker.test.ts +0 -73
  83. package/src/index.js +0 -217
  84. package/src/index.ts +0 -426
  85. package/src/interop/Interoperability.js +0 -413
  86. package/src/interop/Interoperability.ts +0 -494
  87. package/src/logger.js +0 -42
  88. package/src/logger.ts +0 -57
  89. package/src/parser/EnhancedParser.js +0 -205
  90. package/src/parser/EnhancedParser.ts +0 -251
  91. package/src/parser/HoloScriptPlusParser.js +0 -928
  92. package/src/parser/HoloScriptPlusParser.ts +0 -1089
  93. package/src/runtime/HoloScriptPlusRuntime.js +0 -674
  94. package/src/runtime/HoloScriptPlusRuntime.ts +0 -861
  95. package/src/runtime/PerformanceTelemetry.js +0 -323
  96. package/src/runtime/PerformanceTelemetry.ts +0 -467
  97. package/src/runtime/RuntimeOptimization.js +0 -361
  98. package/src/runtime/RuntimeOptimization.ts +0 -416
  99. package/src/services/HololandGraphicsPipelineService.js +0 -506
  100. package/src/services/HololandGraphicsPipelineService.ts +0 -662
  101. package/src/services/PlatformPerformanceOptimizer.js +0 -356
  102. package/src/services/PlatformPerformanceOptimizer.ts +0 -503
  103. package/src/state/ReactiveState.js +0 -427
  104. package/src/state/ReactiveState.ts +0 -572
  105. package/src/tools/DeveloperExperience.js +0 -376
  106. package/src/tools/DeveloperExperience.ts +0 -438
  107. package/src/traits/AIDriverTrait.js +0 -322
  108. package/src/traits/AIDriverTrait.test.js +0 -329
  109. package/src/traits/AIDriverTrait.test.ts +0 -357
  110. package/src/traits/AIDriverTrait.ts +0 -474
  111. package/src/traits/LightingTrait.js +0 -313
  112. package/src/traits/LightingTrait.test.js +0 -410
  113. package/src/traits/LightingTrait.test.ts +0 -462
  114. package/src/traits/LightingTrait.ts +0 -505
  115. package/src/traits/MaterialTrait.js +0 -194
  116. package/src/traits/MaterialTrait.test.js +0 -286
  117. package/src/traits/MaterialTrait.test.ts +0 -329
  118. package/src/traits/MaterialTrait.ts +0 -324
  119. package/src/traits/RenderingTrait.js +0 -356
  120. package/src/traits/RenderingTrait.test.js +0 -363
  121. package/src/traits/RenderingTrait.test.ts +0 -427
  122. package/src/traits/RenderingTrait.ts +0 -555
  123. package/src/traits/VRTraitSystem.js +0 -740
  124. package/src/traits/VRTraitSystem.ts +0 -1040
  125. package/src/traits/VoiceInputTrait.js +0 -284
  126. package/src/traits/VoiceInputTrait.test.js +0 -226
  127. package/src/traits/VoiceInputTrait.test.ts +0 -252
  128. package/src/traits/VoiceInputTrait.ts +0 -401
  129. package/src/types/AdvancedTypeSystem.js +0 -226
  130. package/src/types/AdvancedTypeSystem.ts +0 -494
  131. package/src/types/HoloScriptPlus.d.ts +0 -853
  132. package/src/types.js +0 -6
  133. package/src/types.ts +0 -369
  134. package/tsconfig.json +0 -23
  135. package/tsup.config.d.ts +0 -2
  136. package/tsup.config.js +0 -18
  137. package/tsup.config.ts +0 -19
@@ -1,410 +0,0 @@
1
- import { describe, it, expect, beforeEach } from 'vitest';
2
- import { LightingTrait, createLightingTrait, LIGHTING_PRESETS, } from '../traits/LightingTrait';
3
- describe('LightingTrait', () => {
4
- let lighting;
5
- beforeEach(() => {
6
- lighting = new LightingTrait();
7
- });
8
- describe('initialization', () => {
9
- it('should initialize with default GI settings', () => {
10
- const gi = lighting.getGlobalIllumination();
11
- expect(gi.enabled).toBe(true);
12
- expect(gi.intensity).toBe(1.0);
13
- expect(gi.probes).toBe(true);
14
- });
15
- it('should initialize with custom GI config', () => {
16
- const config = {
17
- enabled: true,
18
- intensity: 2.0,
19
- skyColor: { r: 1, g: 1, b: 1 },
20
- probes: false,
21
- };
22
- const lig = new LightingTrait(config);
23
- const gi = lig.getGlobalIllumination();
24
- expect(gi.intensity).toBe(2.0);
25
- expect(gi.probes).toBe(false);
26
- });
27
- });
28
- describe('light management', () => {
29
- it('should add light and return ID', () => {
30
- const id = lighting.addLight({
31
- type: 'directional',
32
- direction: { x: 1, y: 1, z: 1 },
33
- color: { r: 1, g: 1, b: 1 },
34
- intensity: 1.0,
35
- });
36
- expect(id).toBeDefined();
37
- });
38
- it('should retrieve added light by ID', () => {
39
- const lightId = lighting.addLight({
40
- type: 'point',
41
- position: { x: 0, y: 0, z: 0 },
42
- color: { r: 1, g: 0, b: 0 },
43
- intensity: 1.0,
44
- range: 10,
45
- });
46
- const light = lighting.getLight(lightId);
47
- expect(light?.type).toBe('point');
48
- expect(light?.color.r).toBe(1);
49
- });
50
- it('should get all lights', () => {
51
- lighting.addLight({
52
- type: 'directional',
53
- direction: { x: 0, y: 1, z: 0 },
54
- color: { r: 1, g: 1, b: 1 },
55
- intensity: 1.0,
56
- });
57
- lighting.addLight({
58
- type: 'point',
59
- position: { x: 0, y: 0, z: 0 },
60
- color: { r: 0, g: 1, b: 0 },
61
- intensity: 0.8,
62
- range: 5,
63
- });
64
- const lights = lighting.getLights();
65
- expect(lights).toHaveLength(2);
66
- });
67
- it('should filter lights by type', () => {
68
- lighting.addLight({
69
- type: 'directional',
70
- direction: { x: 0, y: 1, z: 0 },
71
- color: { r: 1, g: 1, b: 1 },
72
- intensity: 1.0,
73
- });
74
- lighting.addLight({
75
- type: 'point',
76
- position: { x: 0, y: 0, z: 0 },
77
- color: { r: 0, g: 1, b: 0 },
78
- intensity: 0.8,
79
- range: 5,
80
- });
81
- lighting.addLight({
82
- type: 'point',
83
- position: { x: 5, y: 0, z: 0 },
84
- color: { r: 0, g: 0, b: 1 },
85
- intensity: 0.5,
86
- range: 3,
87
- });
88
- const points = lighting.getLightsByType('point');
89
- expect(points).toHaveLength(2);
90
- });
91
- });
92
- describe('light updates', () => {
93
- it('should update existing light', () => {
94
- const id = lighting.addLight({
95
- type: 'point',
96
- position: { x: 0, y: 0, z: 0 },
97
- color: { r: 1, g: 0, b: 0 },
98
- intensity: 1.0,
99
- range: 10,
100
- });
101
- lighting.updateLight(id, { intensity: 0.5 });
102
- const light = lighting.getLight(id);
103
- expect(light?.intensity).toBe(0.5);
104
- });
105
- it('should return false for non-existent light', () => {
106
- const result = lighting.updateLight('non-existent', { intensity: 0.5 });
107
- expect(result).toBe(false);
108
- });
109
- it('should remove light', () => {
110
- const id = lighting.addLight({
111
- type: 'point',
112
- position: { x: 0, y: 0, z: 0 },
113
- color: { r: 1, g: 0, b: 0 },
114
- intensity: 1.0,
115
- range: 10,
116
- });
117
- const result = lighting.removeLight(id);
118
- expect(result).toBe(true);
119
- expect(lighting.getLight(id)).toBeUndefined();
120
- });
121
- it('should clear all lights', () => {
122
- lighting.addLight({
123
- type: 'point',
124
- position: { x: 0, y: 0, z: 0 },
125
- color: { r: 1, g: 0, b: 0 },
126
- intensity: 1.0,
127
- range: 10,
128
- });
129
- lighting.addLight({
130
- type: 'point',
131
- position: { x: 5, y: 0, z: 0 },
132
- color: { r: 0, g: 1, b: 0 },
133
- intensity: 1.0,
134
- range: 10,
135
- });
136
- lighting.clearLights();
137
- expect(lighting.getLights()).toHaveLength(0);
138
- });
139
- });
140
- describe('global illumination', () => {
141
- it('should get GI configuration', () => {
142
- const gi = lighting.getGlobalIllumination();
143
- expect(gi).toBeDefined();
144
- expect(gi.skyColor).toBeDefined();
145
- });
146
- it('should update GI configuration', () => {
147
- lighting.updateGlobalIllumination({
148
- intensity: 1.5,
149
- skyIntensity: 2.0,
150
- });
151
- const gi = lighting.getGlobalIllumination();
152
- expect(gi.intensity).toBe(1.5);
153
- expect(gi.skyIntensity).toBe(2.0);
154
- });
155
- it('should enable/disable GI', () => {
156
- lighting.setGIEnabled(false);
157
- const gi = lighting.getGlobalIllumination();
158
- expect(gi.enabled).toBe(false);
159
- });
160
- it('should set ambient light colors', () => {
161
- const skyColor = { r: 0.8, g: 0.8, b: 1.0 };
162
- const groundColor = { r: 0.3, g: 0.3, b: 0.2 };
163
- lighting.setAmbientLight(skyColor, groundColor, 0.8);
164
- const gi = lighting.getGlobalIllumination();
165
- expect(gi.skyColor).toEqual(skyColor);
166
- expect(gi.groundColor).toEqual(groundColor);
167
- expect(gi.skyIntensity).toBe(0.8);
168
- });
169
- it('should enable screen-space AO', () => {
170
- lighting.setScreenSpaceAO(true, 1.5);
171
- const gi = lighting.getGlobalIllumination();
172
- expect(gi.screenSpaceAO).toBe(true);
173
- expect(gi.aoIntensity).toBe(1.5);
174
- });
175
- });
176
- describe('light creation helpers', () => {
177
- it('should create directional light (sun)', () => {
178
- const dir = { x: 1, y: 1, z: 1 };
179
- const color = { r: 1, g: 1, b: 1 };
180
- const id = lighting.createDirectionalLight(dir, color, 1.0, true);
181
- const light = lighting.getLight(id);
182
- expect(light?.type).toBe('directional');
183
- expect(light?.shadow?.type).toBe('soft');
184
- expect(light?.shadow?.cascades).toBe(4);
185
- });
186
- it('should create point light', () => {
187
- const pos = { x: 0, y: 5, z: 0 };
188
- const color = { r: 1, g: 0, b: 0 };
189
- const id = lighting.createPointLight(pos, color, 1.0, 20, false);
190
- const light = lighting.getLight(id);
191
- expect(light?.type).toBe('point');
192
- expect(light?.position).toEqual(pos);
193
- expect(light?.range).toBe(20);
194
- expect(light?.shadow).toBeUndefined();
195
- });
196
- it('should create spot light', () => {
197
- const pos = { x: 0, y: 10, z: 0 };
198
- const dir = { x: 0, y: -1, z: 0 };
199
- const color = { r: 1, g: 1, b: 0 };
200
- const id = lighting.createSpotLight(pos, dir, color, 1.0, 30, 45, true);
201
- const light = lighting.getLight(id);
202
- expect(light?.type).toBe('spot');
203
- expect(light?.spotAngle).toBe(45);
204
- expect(light?.shadow?.type).toBe('soft');
205
- });
206
- it('should create area light', () => {
207
- const pos = { x: 0, y: 5, z: 0 };
208
- const color = { r: 0, g: 1, b: 1 };
209
- const id = lighting.createAreaLight(pos, color, 0.8, 2, 2);
210
- const light = lighting.getLight(id);
211
- expect(light?.type).toBe('area');
212
- expect(light?.range).toBeDefined();
213
- });
214
- });
215
- describe('performance analysis', () => {
216
- it('should get shadow-casting lights', () => {
217
- const lig = new LightingTrait();
218
- lig.addLight({
219
- type: 'directional',
220
- direction: { x: 0, y: 1, z: 0 },
221
- color: { r: 1, g: 1, b: 1 },
222
- intensity: 1.0,
223
- shadow: { type: 'soft' },
224
- });
225
- lig.addLight({
226
- type: 'point',
227
- position: { x: 0, y: 0, z: 0 },
228
- color: { r: 1, g: 0, b: 0 },
229
- intensity: 1.0,
230
- range: 10,
231
- });
232
- const shadowCasters = lig.getShadowCastingLights();
233
- expect(shadowCasters).toHaveLength(1);
234
- });
235
- it('should count lights by type', () => {
236
- const lig = new LightingTrait();
237
- lig.addLight({
238
- type: 'directional',
239
- direction: { x: 0, y: 1, z: 0 },
240
- color: { r: 1, g: 1, b: 1 },
241
- intensity: 1.0,
242
- });
243
- lig.addLight({
244
- type: 'point',
245
- position: { x: 0, y: 0, z: 0 },
246
- color: { r: 1, g: 0, b: 0 },
247
- intensity: 1.0,
248
- range: 10,
249
- });
250
- lig.addLight({
251
- type: 'point',
252
- position: { x: 5, y: 0, z: 0 },
253
- color: { r: 0, g: 1, b: 0 },
254
- intensity: 1.0,
255
- range: 10,
256
- });
257
- lig.addLight({
258
- type: 'spot',
259
- position: { x: 0, y: 5, z: 0 },
260
- direction: { x: 0, y: -1, z: 0 },
261
- color: { r: 0, g: 0, b: 1 },
262
- intensity: 1.0,
263
- range: 15,
264
- spotAngle: 45,
265
- });
266
- const counts = lig.getLightCount();
267
- expect(counts.directional).toBe(1);
268
- expect(counts.point).toBe(2);
269
- expect(counts.spot).toBe(1);
270
- });
271
- it('should estimate GPU performance impact', () => {
272
- const lig = new LightingTrait();
273
- for (let i = 0; i < 10; i++) {
274
- lig.addLight({
275
- type: 'point',
276
- position: { x: i, y: 0, z: 0 },
277
- color: { r: 1, g: 1, b: 1 },
278
- intensity: 0.5,
279
- range: 10,
280
- });
281
- }
282
- const impact = lig.getPerformanceImpact();
283
- expect(impact.totalLights).toBe(10);
284
- expect(['low', 'medium', 'high']).toContain(impact.estimatedGPUCost);
285
- });
286
- it('should estimate high cost with many shadow casters', () => {
287
- const lig = new LightingTrait();
288
- for (let i = 0; i < 5; i++) {
289
- lig.addLight({
290
- type: 'spot',
291
- position: { x: i, y: 0, z: 0 },
292
- direction: { x: 0, y: -1, z: 0 },
293
- color: { r: 1, g: 1, b: 1 },
294
- intensity: 0.5,
295
- range: 10,
296
- spotAngle: 45,
297
- shadow: { type: 'soft' },
298
- });
299
- }
300
- const impact = lig.getPerformanceImpact();
301
- expect(impact.shadowCasters).toBe(5);
302
- expect(impact.estimatedGPUCost).toBe('high');
303
- });
304
- it('should generate scene info string', () => {
305
- lighting.createDirectionalLight({ x: 0, y: 1, z: 0 }, { r: 1, g: 1, b: 1 }, 1.0, true);
306
- lighting.createPointLight({ x: 0, y: 0, z: 0 }, { r: 1, g: 0, b: 0 }, 1.0, 10, false);
307
- const info = lighting.getSceneInfo();
308
- expect(info).toContain('Lighting:');
309
- expect(info).toContain('Shadows:');
310
- expect(info).toContain('GPU:');
311
- });
312
- });
313
- describe('presets', () => {
314
- it('should create studio lighting', () => {
315
- const config = LIGHTING_PRESETS.studio();
316
- expect(config.enabled).toBe(true);
317
- expect(config.skyIntensity).toBe(0.5);
318
- });
319
- it('should create outdoor lighting', () => {
320
- const config = LIGHTING_PRESETS.outdoor();
321
- expect(config.intensity).toBe(1.2);
322
- expect(config.indirectDiffuse).toBe(1.2);
323
- });
324
- it('should create interior lighting', () => {
325
- const config = LIGHTING_PRESETS.interior();
326
- expect(config.intensity).toBe(0.6);
327
- });
328
- it('should create night lighting', () => {
329
- const config = LIGHTING_PRESETS.night();
330
- expect(config.intensity).toBe(0.3);
331
- expect(config.screenSpaceAO).toBe(false);
332
- });
333
- it('should create sunset lighting', () => {
334
- const config = LIGHTING_PRESETS.sunset();
335
- expect(config.skyColor?.r).toBe(1.0);
336
- expect(config.skyColor?.g).toBe(0.7);
337
- });
338
- });
339
- describe('factory function', () => {
340
- it('should create lighting via factory', () => {
341
- const lig = createLightingTrait();
342
- expect(lig.getGlobalIllumination().enabled).toBe(true);
343
- });
344
- it('should create lighting with config via factory', () => {
345
- const config = {
346
- enabled: false,
347
- intensity: 0.5,
348
- };
349
- const lig = createLightingTrait(config);
350
- expect(lig.getGlobalIllumination().enabled).toBe(false);
351
- expect(lig.getGlobalIllumination().intensity).toBe(0.5);
352
- });
353
- });
354
- describe('complex lighting setup', () => {
355
- it('should setup complete scene lighting', () => {
356
- const lig = new LightingTrait();
357
- // Sun
358
- lig.addLight({
359
- type: 'directional',
360
- direction: { x: 0.5, y: 1, z: 0.5 },
361
- color: { r: 1, g: 0.95, b: 0.8 },
362
- intensity: 1.2,
363
- shadow: {
364
- type: 'soft',
365
- resolution: 2048,
366
- cascades: 4,
367
- },
368
- });
369
- // Ambient key light
370
- lig.addLight({
371
- type: 'point',
372
- position: { x: -5, y: 3, z: 0 },
373
- color: { r: 1, g: 1, b: 1 },
374
- intensity: 0.6,
375
- range: 20,
376
- });
377
- // Fill light
378
- lig.addLight({
379
- type: 'point',
380
- position: { x: 5, y: 2, z: -5 },
381
- color: { r: 0.8, g: 0.8, b: 1 },
382
- intensity: 0.4,
383
- range: 15,
384
- });
385
- // Rim light
386
- lig.addLight({
387
- type: 'spot',
388
- position: { x: 0, y: 5, z: -10 },
389
- direction: { x: 0, y: -1, z: 0.5 },
390
- color: { r: 1, g: 1, b: 1 },
391
- intensity: 0.8,
392
- range: 30,
393
- spotAngle: 30,
394
- });
395
- // Setup GI
396
- lig.setAmbientLight({ r: 0.5, g: 0.7, b: 1 }, { r: 0.4, g: 0.4, b: 0.35 }, 1.0);
397
- lig.setScreenSpaceAO(true, 1.0);
398
- const lights = lig.getLights();
399
- expect(lights).toHaveLength(4);
400
- expect(lig.getPerformanceImpact().shadowCasters).toBe(1);
401
- });
402
- });
403
- describe('disposal', () => {
404
- it('should dispose and cleanup', () => {
405
- lighting.createDirectionalLight({ x: 0, y: 1, z: 0 }, { r: 1, g: 1, b: 1 }, 1.0, true);
406
- lighting.dispose();
407
- expect(lighting.getLights()).toHaveLength(0);
408
- });
409
- });
410
- });