Skip to content

Commit

Permalink
Tweaked the documentation a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
sunesimonsen committed Apr 22, 2017
1 parent 2181962 commit b7a4cd9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,13 @@ expect.use(weknowhow.unexpectedCheck);
Include the library with RequireJS the following way:

```js#evaluate:false
define(['unexpected', 'unexpected-check'], funtion (unexpected, unexpectedCheck) {
define(['unexpected', 'unexpected-check'], function (unexpected, unexpectedCheck) {
var expect = unexpected.clone();
expect.use(unexpectedCheck);
// Your code
});
```

Notice that the [chance](www.chancejs.com) library some we configured with the
name `chance`.

## Asynchronous testing

Support for asynchronous testing by returning a promise from the subject
Expand Down

0 comments on commit b7a4cd9

Please sign in to comment.