Commit 97482acb authored by Mike Greiling's avatar Mike Greiling

Remove use of setTimeout in karma specs

parent f77591a0
......@@ -89,10 +89,7 @@ export default (
payload,
);
return new Promise(resolve => {
setImmediate(resolve);
})
.then(() => result)
return Promise.resolve(result)
.catch(error => {
validateResults();
throw error;
......
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