Skip to content

Commit

Permalink
BUGFIX: Adopt the karma.entry regexp to ignore all .story.js files wh…
Browse files Browse the repository at this point in the history
…ile creating the test bundle
  • Loading branch information
Inkdpixels committed Jun 3, 2016
1 parent c763d6d commit c1a357a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karma.entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// Instead, this way of requiring all spec files results in one big test bundle webpack
// needs to compile, which is a lot faster than the default configuration.
//
const context = require.context('./Resources/Private/JavaScript', true, /.js$/);
const context = require.context('./Resources/Private/JavaScript', true, /(?!.*story.js$)^.*js$/);

context.keys().forEach(context);

0 comments on commit c1a357a

Please sign in to comment.