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 committed Nov 21, 2021
1 parent a7da58f commit bab5718
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 @@ -181,8 +181,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 bab5718

Please sign in to comment.