From f6f64297aa030cd3fbad4bbb9e322e469bc762e8 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 4 Feb 2018 19:27:22 +0900 Subject: first webextension test --- e2e/karma-delay.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 e2e/karma-delay.js (limited to 'e2e/karma-delay.js') 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)); -- cgit v1.2.3