Skip to content

Commit ae41d3a

Browse files
committed
remove karma
1 parent 7546e99 commit ae41d3a

File tree

8 files changed

+24921
-61391
lines changed

8 files changed

+24921
-61391
lines changed

packages/core/package-lock.json

Lines changed: 12991 additions & 12991 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/neo4j-driver/gulpfile.babel.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ const sharedNeo4j = require('./test/internal/shared-neo4j').default
3636
const stream = require('stream')
3737
const ts = require('gulp-typescript')
3838
const JasmineReporter = require('jasmine-spec-reporter').SpecReporter
39-
const karma = require('karma')
4039
const log = require('fancy-log')
4140
const 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-
150144
gulp.task('run-browser-test-firefox', async function (cb) {
151-
await sharedNeo4j.start()
152-
runKarma('firefox', cb)
153145
})
154146

155147
gulp.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-
292273
function runJasmineTests (filterString) {
293274
return new Promise((resolve, reject) => {
294275
const jasmine = new JasmineExec()

0 commit comments

Comments
 (0)