Browse Source

unit tests

Raanan Weber 7 years ago
parent
commit
88b2dc4a42
1 changed files with 4 additions and 8 deletions
  1. 4 8
      Viewer/tests/unit/src/configuration/updateConfiguration.ts

+ 4 - 8
Viewer/tests/unit/src/configuration/updateConfiguration.ts

@@ -155,19 +155,15 @@ describe(name + " scene", () => {
             assert.equal(viewer.sceneManager.reflectionColor.b, 1);
 
             viewer.updateConfiguration({
-                scene: {
+                environmentMap: {
+                    tintLevel: 1,
+                    texture: "",
+                    rotationY: 0,
                     mainColor: {
                         r: 0.5,
                         g: 0.5,
                         b: 0.5
                     }
-                },
-                lab: {
-                    environmentMap: {
-                        tintLevel: 1,
-                        texture: "",
-                        rotationY: 0
-                    }
                 }
             });