1 var gulp = require("gulp");
2 var jest = require("jest");
4 // -------------- Run Jest Tests --------------
6 gulp.task("test", function() {
7 return jest.runCLI({}, ".")
9 if (!result.results.success){
10 console.error("Execution of js tests failed with status 1");
16 // -------------- Default Task --------------
18 gulp.task("default", gulp.parallel(["test"]));