mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-29 20:37:01 +02:00
Modify mocha-test-clients to use Karma (#149)
This commit is contained in:
committed by
Kumar McMillan
parent
395786e353
commit
8638cd7698
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user