Forráskód Böngészése

Fix tests issues with namespaces changes

sebastien 6 éve
szülő
commit
895007092e
1 módosított fájl, 5 hozzáadás és 4 törlés
  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;