diff options
author | Indrajith K L | 2017-12-18 17:02:00 +0530 |
---|---|---|
committer | Indrajith K L | 2017-12-18 17:02:00 +0530 |
commit | 22e4705a9cde1ec45fac032721af6d47ef60566b (patch) | |
tree | b2da1d0f49c725e3032ed1ad14b2118d2c3ca482 /tests/unit/spec-bundle.js | |
download | vanilla-yo-notification-22e4705a9cde1ec45fac032721af6d47ef60566b.tar.gz vanilla-yo-notification-22e4705a9cde1ec45fac032721af6d47ef60566b.tar.bz2 vanilla-yo-notification-22e4705a9cde1ec45fac032721af6d47ef60566b.zip |
initial commit
Diffstat (limited to 'tests/unit/spec-bundle.js')
-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 |