Skip to content

Commit

Permalink
Run documentation tests using unexpected-markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
sunesimonsen committed Mar 20, 2016
1 parent b5c8319 commit 24bbb7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 237 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
"magicpen": "4.11.0",
"mocha": "2.2.5",
"unexpected": "10.3.1",
"unexpected-documentation-site-generator": "^4.0.0"
"unexpected-documentation-site-generator": "^4.0.0",
"unexpected-markdown": "^1.3.2"
},
"scripts": {
"lint": "jshint .",
"test": "mocha && npm run lint",
"test": "mocha test/**/*.js documentation/**/*.md && npm run lint",
"travis": "npm test && npm run coverage && (<coverage/lcov.info coveralls || true) && npm run generate-site",
"coverage": "NODE_ENV=development istanbul cover --report text --report lcov _mocha -- --reporter dot && echo google-chrome coverage/lcov-report/index.html",
"generate-site": "generate-site --require ./bootstrap-unexpected-markdown.js && cp magic-pen-6-colours.jpg site-build && cp magic-pen-6-colours.jpg site-build/assertions/string/to-have-metadata-satisfying/",
Expand Down
234 changes: 0 additions & 234 deletions test/documentation.spec.js

This file was deleted.

4 changes: 3 additions & 1 deletion test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-R spec
--reporter spec
--recursive
--timeout 20000
--require ./bootstrap-unexpected-markdown
--compilers md:unexpected-markdown

0 comments on commit 24bbb7b

Please sign in to comment.