Skip to content

Instantly share code, notes, and snippets.

@rarous
Created May 28, 2015 11:19
Show Gist options
  • Save rarous/8ca182f0716ac3eee4b0 to your computer and use it in GitHub Desktop.
Save rarous/8ca182f0716ac3eee4b0 to your computer and use it in GitHub Desktop.
var testsContext = require.context(".", true, /-spec.js$/);
testsContext.keys().forEach(testsContext);
entry: [
// ...
'mocha!./src/js/spec'
]
@rarous
Copy link
Author

rarous commented May 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment