diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2017-10-13 00:04:17 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-10-13 00:04:17 +0300 |
commit | c3195e83a8ba7ac54516fa9f08340e4dd442f63b (patch) | |
tree | 15e29ac31e1cfa53da7f48a23828b1088b5beda1 /spec/javascripts/helpers | |
parent | 3555252d808d7d939e1dd508962abe8d94cbd667 (diff) |
Add create merge checkbox.
Diffstat (limited to 'spec/javascripts/helpers')
-rw-r--r-- | spec/javascripts/helpers/set_timeout_promise_helper.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/javascripts/helpers/set_timeout_promise_helper.js b/spec/javascripts/helpers/set_timeout_promise_helper.js new file mode 100644 index 00000000000..1478073413c --- /dev/null +++ b/spec/javascripts/helpers/set_timeout_promise_helper.js @@ -0,0 +1,3 @@ +export default (time = 0) => new Promise((resolve) => { + setTimeout(resolve, time); +}); |