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