Skip to content

Commit

Permalink
Add possible mitigation for hooks argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Jun 16, 2017
1 parent c416cc0 commit 58c0564
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions text/0230-simplify-qunit-testing-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,3 +460,7 @@ module('x-foo', function(hooks) {
// ....snip....
});
```

Another possible solution is to rename the argument (here and in the blueprints) to `module`.
This is more in line with what the QUnit folks view it as: the "module context" that
is being created for that specific `QUnit.module` invocation.

0 comments on commit 58c0564

Please sign in to comment.