Skip to content

Commit

Permalink
Run tests with any extension if it matches .spec. πŸ“ˆ
Browse files Browse the repository at this point in the history
  • Loading branch information
pirelenito committed Sep 25, 2016
1 parent 21fe9dd commit d4133a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karma-static-files/test-bundle.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const testsContext = require.context('../../../src', true, /\.spec\.js$/)
const testsContext = require.context('../../../src', true, /\.spec\..+$/)
testsContext.keys().forEach(testsContext)

0 comments on commit d4133a7

Please sign in to comment.