aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorIndrajith K L2017-12-18 17:02:00 +0530
committerIndrajith K L2017-12-18 17:02:00 +0530
commit22e4705a9cde1ec45fac032721af6d47ef60566b (patch)
treeb2da1d0f49c725e3032ed1ad14b2118d2c3ca482 /tests/unit
downloadvanilla-yo-notification-22e4705a9cde1ec45fac032721af6d47ef60566b.tar.gz
vanilla-yo-notification-22e4705a9cde1ec45fac032721af6d47ef60566b.tar.bz2
vanilla-yo-notification-22e4705a9cde1ec45fac032721af6d47ef60566b.zip
initial commit
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/spec-bundle.js9
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