From f7d08c7da36e45524ca4a7081ed5e729d92ac849 Mon Sep 17 00:00:00 2001 From: Mark Chapman Date: Thu, 25 Jul 2019 20:45:25 +0000 Subject: [PATCH] Copy the .js file to where the tests expect it to be --- gulpfile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 5c4b5660..31751e47 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -123,6 +123,11 @@ gulp.task('copyLess', function () { .pipe(gulp.dest(distDirectory + '/client')); }); +gulp.task('copyJs', function () { + return gulp.src([distDirectory + '/server/*.js']) + .pipe(gulp.dest('./src/server')); +}); + gulp.task('templates', function() { var templateCache = require('gulp-angular-templatecache'); @@ -171,6 +176,7 @@ gulp.task('build', gulp.series( 'saveDebug', 'copyTypes', 'copyLess', + 'copyJs', 'cleanMin', 'less', function(done) {done();})