Skip to content

Commit d9df6ef

Browse files
committed
snippets edit
1 parent ca4c128 commit d9df6ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_posts/2016-01-07-test-snippets.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ file: 2016-01-07-test-snippets.md
66
---
77
Test Runners may have pre-made [Atom snippets](https://atom.io/docs/latest/using-atom-snippets) to quickly generate test files. See [*mocha-coderoad* snippets](https://github.com/coderoad/mocha-coderoad/blob/master/snippets.cson) as an example.
88

9-
Open up *Atom* -> *Open Your Snippets*. Add the contents of `snippets.cson` to your global `snippets.cson` file. Read the project README to see which snippets are available and which prefixes you should use. For example: 'mochacr-f' for testing a "mocha-coderoad" function.
9+
Open up *Atom* -> *Open Your Snippets*. Add the contents of `snippets.cson` to your global `snippets.cson` file. Read the project README to see which snippets are available and which prefixes you should use.
10+
11+
For example, typing 'mochacr-f' will generate an entire set of tests for a "mocha-coderoad" function.

0 commit comments

Comments
 (0)