Commit 8c46d980 authored by Kyle Keating's avatar Kyle Keating Committed by Kyle Keating

Fix deprecated warning from recent karam upgrade

Karam expects the config to be of type `Config`. This can be done by calling the karma.config.parseConfig method which creates a Config object that can be passed to karma.Server()
parent 216d81d0
...@@ -346,10 +346,10 @@ gulp.task( ...@@ -346,10 +346,10 @@ gulp.task(
function runKarma(done) { function runKarma(done) {
const karma = require('karma'); const karma = require('karma');
new karma.Server( new karma.Server(
{ karma.config.parseConfig(
configFile: path.resolve(__dirname, './src/karma.config.js'), path.resolve(__dirname, './src/karma.config.js'),
...karmaOptions, karmaOptions
}, ),
done done
).start(); ).start();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment