Skip to content

Commit

Permalink
GH-2 readme updated with testsFunction example
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouse Braun committed Sep 18, 2017
1 parent 60c9e41 commit d6edfaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ Niffy supplies these defaults:

## Usage

Whatever tests you want to run at each resolution must be wrapped in a function and passed as the `testsFunction` parameter of the Niffy constructor. Example:
Whatever tests you want to run at each resolution must be wrapped in a function and passed as the `testsFunction` parameter of the Niffy constructor.

### Mocha example:

```
new Niffy(
Expand Down

0 comments on commit d6edfaa

Please sign in to comment.