aboutsummaryrefslogtreecommitdiff
path: root/e2e/karma-delay.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-02-04 19:27:22 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-02-04 19:27:22 +0900
commitf6f64297aa030cd3fbad4bbb9e322e469bc762e8 (patch)
tree02ad2374c6e7060c7f13658e7dd4c3c0d99b5b9f /e2e/karma-delay.js
parentbb5b6d367cdd19a1d81c78cf8a79c47520ca469e (diff)
first webextension test
Diffstat (limited to 'e2e/karma-delay.js')
-rw-r--r--e2e/karma-delay.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/e2e/karma-delay.js b/e2e/karma-delay.js
new file mode 100644
index 0000000..be7b448
--- /dev/null
+++ b/e2e/karma-delay.js
@@ -0,0 +1,10 @@
+'use strict';
+
+window.__karma__.start = (function(start){
+return function(){
+ var args = arguments
+ setTimeout(() => {
+ start(args)
+ }, 1000);
+};
+}(window.__karma__.start));