Skip to content

Commit

Permalink
Merge pull request #1605 from flipace/patch-1
Browse files Browse the repository at this point in the history
docs: added allTestFiles array definition to tests-main.js example
  • Loading branch information
dignifiedquire committed Oct 2, 2015
2 parents 3ec6368 + 099f1ed commit 14da390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/plus/01-requirejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ The `test/test-main.js` file ends up looking like this:

```javascript
var TEST_REGEXP = /(spec|test)\.js$/i;
var allTestFiles = [];

// Get a list of all the test files to include
Object.keys(window.__karma__.files).forEach(function(file) {
Expand Down

0 comments on commit 14da390

Please sign in to comment.