Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
Document the test bundler πŸ“•
Browse files Browse the repository at this point in the history
  • Loading branch information
pirelenito committed Sep 25, 2016
1 parent d4133a7 commit 7cd93a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions karma-static-files/test-bundle.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/**
* Sagui test bundler that finds all test files in a project
* for Karma to run them.
*/
const testsContext = require.context('../../../src', true, /\.spec\..+$/)
testsContext.keys().forEach(testsContext)

0 comments on commit 7cd93a6

Please sign in to comment.