Browse Source

Fix tests issues with namespaces changes

sebastien 6 years ago
parent
commit
895007092e
1 changed files with 5 additions and 4 deletions
  1. 5 4
      tests/modules/tests-karma.js

+ 5 - 4
tests/modules/tests-karma.js

@@ -7,10 +7,11 @@ function runTests(testType, BABYLON, GUI, INSPECTOR) {
     describe(testType + ' module tests', function () {
 
         it("should have the dependencies loaded", function () {
-            assert.isDefined(BABYLON);
-            assert.isDefined(GUI);
-            assert.isDefined(INSPECTOR);
-            assert.isDefined(BABYLON.GLTF2);
+            assert.isDefined(BABYLON, "BABYLON should be defined");
+            assert.isDefined(GUI, "GUI should be defined");
+            assert.isDefined(INSPECTOR, "INSPECTOR should be defined");
+            // GLTF2 has migrated to BABYLON
+            // assert.isDefined(BABYLON.GLTF2, "BABYLON.GLTF2 should be defined");
         })
 
         var subject;