Modify mocha-test-clients to use Karma (#149)

This commit is contained in:
sneakypete81
2016-12-01 22:08:31 +00:00
committed by Kumar McMillan
parent 395786e353
commit 8638cd7698
6 changed files with 116 additions and 43 deletions
+7 -5
View File
@@ -4,18 +4,20 @@
"description": "Example how to run unit tests for WebExtension",
"main": "index.js",
"scripts": {
"test": "mocha-phantomjs -p ./node_modules/phantomjs-prebuilt/bin/phantomjs -R nyan tests/background.html",
"test": "karma start",
"test:debug": "karma start --no-single-run --auto-watch",
"web-ext": "web-ext run -s ./addon"
},
"author": "",
"license": "MPL-2.0",
"devDependencies": {
"chai": "^3.5.0",
"chrome-mock": "0.0.9",
"mocha": "^3.1.2",
"mocha-phantomjs": "^4.1.0",
"phantomjs-prebuilt": "^2.1.13",
"expect.js": "^0.3.1",
"karma": "^1.3.0",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"mocha": "^3.1.2",
"sinon-chrome": "^2.1.2",
"web-ext": "^1.6.0"
}
}