Commit 89edc02a by Waheed Ahmed

Remove karma-jasmine-jquery and use karma-jquery.

Remove karma-jasmine-jquery and use karma-jquery and jasmine-jquery directly.

LEARNER-5186
parent 395edbef
......@@ -15,11 +15,12 @@ module.exports = function(config) {
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine-jquery', 'jasmine', 'requirejs', 'sinon'],
frameworks: ['jquery-3.2.1', 'jasmine', 'requirejs', 'sinon'],
// list of files / patterns to load in the browser
files: [
'node_modules/jasmine-jquery/lib/jasmine-jquery.js',
{pattern: 'ecommerce/static/bower_components/**/*.js', included: false},
{pattern: 'ecommerce/static/js/**/*.js', included: false},
{pattern: 'ecommerce/static/templates/**/*.html', included: false},
......@@ -38,7 +39,7 @@ module.exports = function(config) {
// enabled plugins
plugins:[
'karma-jasmine-jquery',
'karma-jquery',
'karma-jasmine',
'karma-requirejs',
'karma-firefox-launcher',
......
......@@ -24,7 +24,7 @@
"karma-coverage-allsources": "0.0.4",
"karma-firefox-launcher": "1.0.1",
"karma-jasmine": "1.1.0",
"karma-jasmine-jquery": "0.1.1",
"karma-jquery": "0.2.2",
"karma-requirejs": "1.1.0",
"karma-sinon": "1.0.5",
"karma-spec-reporter": "0.0.26",
......
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