浏览代码

testing if deps exist

Raanan Weber 7 年之前
父节点
当前提交
e06cb70bdf
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      tests/modules/tests-karma.js

+ 8 - 1
tests/modules/tests-karma.js

@@ -1,11 +1,18 @@
 
 
-function runTests(testType, BABYLON, GUI, INSPECTOR, LOADERS, SERIALIZERS, POSTPROCESS) {
+function runTests(testType, BABYLON, GUI, INSPECTOR) {
 
     console.log("running tests");
 
     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);
+        })
+
         var subject;
 
         /**