Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

switch to kramdown since GH will drop support (#30)

Christopher Hiller764c395ef647
diff --git a/_config.yml b/_config.yml
index 7d22174d..ed1df4b6 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,8 +1,8 @@
url: http://mochajs.org
-markdown: redcarpet
+markdown: kramdown
redcarpet:
extensions: ["with_toc_data"]
-highlighter: pygments
+highlighter: rouge
exclude:
- node_modules
- README.md
diff --git a/index.md b/index.md
index d8f19c9f..14088768 100644
--- a/index.md
+++ b/index.md
@@ -541,7 +541,7 @@ Executes tests on changes to JavaScript in the CWD, and once initially.
### `--compilers`
CoffeeScript is no longer supported out of the box. CS and similar transpilers
-may be used by mapping the file extensions (for use with --watch) and the module
+may be used by mapping the file extensions (for use with `--watch`) and the module
name. For example `--compilers coffee:coffee-script` with CoffeeScript 1.6- or
`--compilers coffee:coffee-script/register` with CoffeeScript 1.7+.
@@ -854,10 +854,10 @@ The command `mocha --reporter doc array` would yield:
The SuperAgent request library [test documentation](http://visionmedia.github.io/superagent/docs/test.html) was generated with Mocha's doc reporter using this simple make target:
```makefile
- test-docs:
- make test REPORTER=doc \
- | cat docs/head.html - docs/tail.html \
- > docs/test.html
+test-docs:
+ $(MAKE) test REPORTER=doc \
+ | cat docs/head.html - docs/tail.html \
+ > docs/test.html
```
View the entire [Makefile](https://github.com/visionmedia/superagent/blob/master/Makefile) for reference.