Skip to content

Commit 38763ee

Browse files
committed
Reenable documentation tests as part of npm test.
1 parent 7630ee5 commit 38763ee

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"build": "babel --out-dir lib --quiet src",
1616
"changelog": "offline-github-changelog > CHANGELOG.md",
1717
"lint": "eslint .",
18-
"test": "mocha test documentation",
18+
"test": "mocha ./test/*.js `find documentation -name '*.md'`",
1919
"ci": "npm run lint && npm run coverage && npm run build && npm run bundle",
20-
"coverage": "nyc --reporter=lcov --reporter=text mocha --reporter dot test documentation",
20+
"coverage": "nyc --reporter=lcov --reporter=text npm test -- --reporter dot",
2121
"preversion": "npm run build && npm run bundle && npm run lint && npm run test && git add unexpected-dom.*",
2222
"postversion": "npm run changelog && git add CHANGELOG.md && git commit --allow-empty -m 'Update changelog' && gh-pages -d site-build",
2323
"generate-site": "generate-site --require ./bootstrap-unexpected-markdown.js",

test/mocha.opts

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
--recursive
21
--require ./bootstrap-unexpected-markdown.js
32
--require unexpected-markdown

0 commit comments

Comments
 (0)