There was an error while loading. Please reload this page.
1 parent a0c08cd commit af65f85Copy full SHA for af65f85
1 file changed
test/ecs/components/SkyboxTime.spec.ts
@@ -0,0 +1,13 @@
1
+import { engine, components, TransitionMode } from '../../../packages/@dcl/ecs/src'
2
+import { testComponentSerialization } from './assertion'
3
+
4
+describe('Generated SkyboxTime ProtoBuf', () => {
5
+ it('should serialize/deserialize SkyboxTime', () => {
6
+ const skyboxTime = components.SkyboxTime(engine)
7
8
+ testComponentSerialization(skyboxTime, {
9
+ fixedTime: 0,
10
+ transitionMode: TransitionMode.TM_FORWARD
11
+ })
12
13
+})
0 commit comments