We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d2af4b commit 036e700Copy full SHA for 036e700
package.json
@@ -22,7 +22,9 @@
22
"build-min": "NODE_ENV=production webpack -p modules/index.js umd/ReactRouter.min.js",
23
"lint": "eslint modules examples",
24
"start": "node examples/server.js",
25
- "test": "npm run lint && karma start",
+ "test": "npm run lint && npm run test-node && npm run test-browser",
26
+ "test-browser": "karma start",
27
+ "test-node": "mocha --compilers js:babel-core/register tests.node.js",
28
"postinstall": "node ./npm-scripts/postinstall.js"
29
},
30
"authors": [
tests.node.js
@@ -0,0 +1 @@
1
+import './modules/__tests__/serverRendering-test'
0 commit comments