dont close dev server when tests finish

This commit is contained in:
Hakim El Hattab 2020-04-15 11:14:45 +02:00
parent 0bdc44826d
commit 0c8ac8f1ee

View File

@ -88,7 +88,7 @@ gulp.task('test-qunit', function() {
name: 'test-server'
}
connect.server( serverConfig )
let server = connect.server( serverConfig )
let testFiles = glob.sync('test/*.html' )
@ -140,7 +140,7 @@ gulp.task('test-qunit', function() {
reject();
} )
.finally( () => {
connect.serverClose();
server.close();
} );
} );