Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: package.json

Issue 29367181: Issue 4726 - Add tests for the element hiding emulation content script (Closed) Base URL: https://bitbucket.org/fhd/adblockpluscore
Patch Set: Rebased on master, added tests for braces in regexp property selectors Created Dec. 13, 2016, 5:26 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: package.json
===================================================================
--- a/package.json
+++ b/package.json
@@ -1,13 +1,17 @@
{
"name": "adblockpluscore",
"repository": "https://hg.adblockplus.org/adblockpluscore",
"license": "GPL-3.0",
"dependencies": {},
"devDependencies": {
- "sandboxed-module": "2.0.3",
- "nodeunit": "0.9.1"
+ "node-qunit-phantomjs": "^1.5.0",
kzar 2017/01/09 08:28:43 I wonder what node-qunit-phantomjs really adds? Co
Felix Dahlke 2017/01/10 09:16:47 QUnit tests run in an HTML page, we have to extrac
kzar 2017/01/10 11:05:33 Well it seems that most of the work is actually do
Felix Dahlke 2017/01/10 13:27:32 I guess we can, but given how qunit-phantomjs-runn
kzar 2017/01/11 04:25:28 Well the point is to minimise dependencies. One pa
Felix Dahlke 2017/01/11 10:06:02 It's not that simple. We should aim to minimise de
+ "nodeunit": "0.9.1",
+ "qunitjs": "^2.1.0",
kzar 2017/01/09 08:28:42 IMO seems kind of a hack to use a nodejs script fr
Felix Dahlke 2017/01/10 09:16:48 qunitjs is a pure frontend dependency in my unders
kzar 2017/01/10 11:05:33 Fair enough.
+ "sandboxed-module": "2.0.3"
},
"scripts": {
- "test": "node test_runner.js"
+ "test": "npm run test-node; npm run test-browser",
kzar 2017/01/09 08:28:43 IMO we should instead modify test_runner.js. It wo
Felix Dahlke 2017/01/10 09:16:48 Done.
+ "test-node": "node test_runner.js",
+ "test-browser": "node_modules/node-qunit-phantomjs/bin/node-qunit-phantomjs test/browser/index.html"
}
}

Powered by Google App Engine
This is Rietveld