Przeglądaj źródła

viewer added to tests, whatsnu

Raanan Weber 7 lat temu
rodzic
commit
9b551b425d
3 zmienionych plików z 10 dodań i 6 usunięć
  1. 9 5
      Tools/Gulp/gulpfile.js
  2. 1 0
      dist/preview release/what's new.md
  3. 0 1
      what's new.md

+ 9 - 5
Tools/Gulp/gulpfile.js

@@ -1040,11 +1040,7 @@ gulp.task("tests-unit-debug", ["tests-unit-transpile"], function (done) {
     server.start();
 });
 
-/**
- * Launches the KARMA unit tests in phantomJS.
- * (Can only be launch on any branches.)
- */
-gulp.task("tests-unit", ["tests-unit-transpile"], function (done) {
+gulp.task("tests-babylon-unit", ["tests-unit-transpile"], function (done) {
     var kamaServerOptions = {
         configFile: __dirname + "/../../tests/unit/karma.conf.js",
         singleRun: true
@@ -1054,6 +1050,14 @@ gulp.task("tests-unit", ["tests-unit-transpile"], function (done) {
     server.start();
 });
 
+/**
+ * Launches the KARMA unit tests in phantomJS.
+ * (Can only be launch on any branches.)
+ */
+gulp.task("tests-unit", function (cb) {
+    runSequence("tests-babylon-unit", "tests-viewer-unit", cb);
+});
+
 var rmDir = function (dirPath) {
     try { var files = fs.readdirSync(dirPath); }
     catch (e) { return; }

+ 1 - 0
dist/preview release/what's new.md

@@ -119,6 +119,7 @@
 - Add support for sparse accessors to glTF 2.0 loader. ([bghgary](https://github.com/bghgary))
 - Add support for cameras to glTF 2.0 loader. ([bghgary](https://github.com/bghgary)]
 - Add support for preprocessing urls to glTF 2.0 loader. ([bghgary](https://github.com/bghgary)]
+- Viewer upgrade - see [PR](https://github.com/BabylonJS/Babylon.js/pull/4160) ([RaananW](https://github.com/RaananW))
 
 ## Bug fixes
 

+ 0 - 1
what's new.md

@@ -26,7 +26,6 @@
 - Complete rework of Unity3D exporter. [Documentation](http://doc.babylonjs.com/resources/intro) ([MackeyK24](https://github.com/MackeyK24))
 - Introducing the BabylonJS viewer, an HTML-based 3D/model viewer, with Babylon at its core. [Documentation](http://doc.babylonjs.com/extensions/the_babylon_viewer) ([RaananW](https://github.com/RaananW))
 - Full NPM support for BabylonJS and its modules, based on UMD and including Typings. [BabylonJS on npm](https://www.npmjs.com/~babylonjs) ([RaananW](https://github.com/RaananW))
-- Viewer upgrade - see [PR](https://github.com/BabylonJS/Babylon.js/pull/4160) ([RaananW](https://github.com/RaananW))
 
 ## Updates