@@ -36,7 +36,6 @@ const sharedNeo4j = require('./test/internal/shared-neo4j').default
3636const stream = require ( 'stream' )
3737const ts = require ( 'gulp-typescript' )
3838const JasmineReporter = require ( 'jasmine-spec-reporter' ) . SpecReporter
39- const karma = require ( 'karma' )
4039const log = require ( 'fancy-log' )
4140const JasmineExec = require ( 'jasmine' )
4241
@@ -142,14 +141,7 @@ gulp.task('test-nodejs-integration', async () => {
142141 return runJasmineTests ( '#integration*' )
143142} )
144143
145- gulp . task ( 'run-browser-test-chrome' , async function ( cb ) {
146- await sharedNeo4j . start ( )
147- runKarma ( 'chrome' , cb )
148- } )
149-
150144gulp . task ( 'run-browser-test-firefox' , async function ( cb ) {
151- await sharedNeo4j . start ( )
152- runKarma ( 'firefox' , cb )
153145} )
154146
155147gulp . task ( 'run-browser-test' , gulp . series ( 'run-browser-test-firefox' ) )
@@ -278,17 +270,6 @@ function newJasmineConsoleReporter () {
278270 } )
279271}
280272
281- function runKarma ( browser , cb ) {
282- new karma . Server (
283- {
284- configFile : path . join ( __dirname , `/test/browser/karma-${ browser } .conf.js` )
285- } ,
286- function ( exitCode ) {
287- exitCode ? process . exit ( exitCode ) : cb ( )
288- }
289- ) . start ( )
290- }
291-
292273function runJasmineTests ( filterString ) {
293274 return new Promise ( ( resolve , reject ) => {
294275 const jasmine = new JasmineExec ( )
0 commit comments