-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Idea of having a central file for webpacking the tests
One issue is that it doesn't work when AEgir is `npm link`ed.
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// This is webpack specific. It will create a single bundle | ||
// out of all files ending in ".spec.js" within the "test" | ||
// directory and all its subdirectories. | ||
'use strict' | ||
const testsContext = require.context('../../../../test', true, /\.spec\.js/) | ||
testsContext.keys().forEach(testsContext) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters