Skip to content

Commit

Permalink
Merge pull request #465 from kaliber5/fix-flakey-test
Browse files Browse the repository at this point in the history
Fix flaky resize test
  • Loading branch information
simonihmig authored Nov 25, 2021
2 parents 301fe3f + c36e27f commit 0872405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/components/ecsy-babylon-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ module('Integration | Component | ecsy-babylon', function (hooks) {
this.set('height', 300);

await settled();
await new Promise((r) => setTimeout(r, 50));

assert.equal(engine.getRenderWidth(), 400);
assert.equal(engine.getRenderHeight(), 300);
Expand Down

0 comments on commit 0872405

Please sign in to comment.