Add test task to run all tests
This commit is contained in:
parent
51b5e12de1
commit
69a891eb6e
@ -9,5 +9,4 @@ before_script:
|
||||
- npm i -g gulp
|
||||
- npm i
|
||||
script:
|
||||
- gulp test-api
|
||||
- gulp test-app
|
||||
- gulp test
|
||||
|
@ -122,6 +122,8 @@ gulp.task('api', () => {
|
||||
.pipe(gulp.dest('dist/api/'));
|
||||
});
|
||||
|
||||
gulp.task('test', ['test-app', 'test-api']);
|
||||
|
||||
gulp.task('test-app', ['tsc', 'vendor'], () => {
|
||||
return gulp.src(paths.tests_app)
|
||||
.pipe(mocha());
|
||||
|
Reference in New Issue
Block a user