diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/spec-bundle.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/spec-bundle.js b/tests/unit/spec-bundle.js new file mode 100644 index 0000000..964cf50 --- /dev/null +++ b/tests/unit/spec-bundle.js @@ -0,0 +1,9 @@ +Error.stackTraceLimit = Infinity; + +var testContext = require.context('./../../src', true, /\.spec\.ts/); + +function requireAll(requireContext) { + return requireContext.keys().map(requireContext); +} + +var modules = requireAll(testContext);
\ No newline at end of file |