Skip to content

Commit

Permalink
Fix hanging store.destroy testt (#7703)
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer authored and igorT committed Nov 23, 2021
1 parent 483b95b commit 0fc9708
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/-ember-data/tests/integration/store-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,11 @@ module('integration/store - destroy', function(hooks) {
// to flush, potentially pushing data into the store
await settled();
assert.ok(true, 'we made it to the end');
await requestPromise;
assert.ok(false, 'we should never make it here');
requestPromise.then(() => {
assert.ok(false, 'we should never make it here');
});

await settled();
});

test('destroying the store correctly cleans everything up', async function(assert) {
Expand Down

0 comments on commit 0fc9708

Please sign in to comment.