diff --git a/package.json b/package.json index 6348a3e01a7f0b9071fc12aaeeaea7b63c33eb42..ae388dcc5a96efacbdb2e1797ed9208311ea9466 100644 --- a/package.json +++ b/package.json @@ -28,13 +28,13 @@ }, "scripts": { "build": "rollup -c", - "build-test": "rollup -c test/rollup.unit.config.js -w", + "build-test": "rollup -c test/rollup.unit.config.js", "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js", "build-closure": "rollup -c && java -jar node_modules/google-closure-compiler/compiler.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js", "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"serve --port 8080\"", "start": "npm run dev", "lint": "eslint src", - "test": "qunit test/unit/three.source.unit.js", + "test": "npm run build-test && qunit test/unit/three.source.unit.js", "editor": "electron ./editor/main.js" }, "keywords": [ @@ -55,7 +55,7 @@ "eslint": "^4.1.1", "eslint-config-mdcs": "^4.2.2", "google-closure-compiler": "^20170521.0.0", - "qunitjs": "^2.4.0", + "qunit": "^2.4.0", "rollup": "^0.51.0", "rollup-watch": "^4.0.0", "serve": "^6.3.1", diff --git a/test/unit/UnitTests.html b/test/unit/UnitTests.html index bd98d63392aa65125c29616f3855856a2aba09c2..1a02ddc63780b81083df1264a9addaeb6f6df5ed 100644 --- a/test/unit/UnitTests.html +++ b/test/unit/UnitTests.html @@ -1,16 +1,16 @@ - + ThreeJS Unit Tests - Using Files in /src - +
- + diff --git a/test/unit/unittests_editor_toRemoveAfterEditorES6Refactoring.html b/test/unit/unittests_editor_toRemoveAfterEditorES6Refactoring.html index a09727057fdb7646f96ab7f614d3b99b22574b2c..bf9790cb46a22843979de48f9609df226d157b5f 100644 --- a/test/unit/unittests_editor_toRemoveAfterEditorES6Refactoring.html +++ b/test/unit/unittests_editor_toRemoveAfterEditorES6Refactoring.html @@ -1,16 +1,16 @@ - + ThreeJS Unit Tests - Using Files in /editor - +
- +