Pause tests in Ember
Every now and then you want to pause a test so you can investigate the state of the world around it.
Simply await on a promise which resolves after a timeout.
test("my test", async function(assert) {
// setup…
await new Promise(resolve => setTimeout(resolve, 30000));
// …assert
});
comments powered by Disqus