Skip to content
Snippets Groups Projects
Commit e6e1d069 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Fixed error in gulp task test

Closes: simcaq/SCRUM#68
parent a061894e
No related branches found
No related tags found
1 merge request!21Issue/68
Pipeline #
...@@ -8,6 +8,7 @@ before_script: ...@@ -8,6 +8,7 @@ before_script:
run_tests: run_tests:
stage: test stage: test
script: script:
- gulp build
- gulp test - gulp test
tags: tags:
- node - node
...@@ -58,7 +58,7 @@ gulp.task('doc', (cb) => { ...@@ -58,7 +58,7 @@ gulp.task('doc', (cb) => {
.pipe(jsdoc(config, cb)); .pipe(jsdoc(config, cb));
}); });
gulp.task('test', ['build'], () => { gulp.task('test', () => {
process.chdir('build'); process.chdir('build');
gulp.src('test/test.js', {read: false}) gulp.src('test/test.js', {read: false})
.pipe(mocha()) .pipe(mocha())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment