Commit 7f8585c6 authored by Mike Greiling's avatar Mike Greiling

Update setImmediate use in karma specs

parent 97482acb
......@@ -89,7 +89,8 @@ export default (
payload,
);
return Promise.resolve(result)
return new Promise(setImmediate)
.then(() => result)
.catch(error => {
validateResults();
throw error;
......
......@@ -3,6 +3,7 @@
*/
import $ from 'jquery';
import 'core-js/features/set-immediate';
import 'vendor/jasmine-jquery';
import '~/commons';
import Vue from 'vue';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment