Skip to content

Commit

Permalink
Fix link to RunContext - fix #720
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias authored Apr 16, 2017
1 parent d57371d commit af341ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/authoring/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var helpers = require('yeoman-test');

You can check [the full helpers API here](https://github.com/yeoman/yeoman-test).

The most useful method when unit testing a generator is `helpers.run()`. This method will return a [RunContext](http://yeoman.io/generator/RunContext.html) instance on which you can call method to setup a directory, mock prompt, mock arguments, etc.
The most useful method when unit testing a generator is `helpers.run()`. This method will return a [RunContext](https://github.com/yeoman/yeoman-test/blob/master/lib/run-context.js) instance on which you can call method to setup a directory, mock prompt, mock arguments, etc.

```js
var path = require('path');
Expand Down

0 comments on commit af341ec

Please sign in to comment.