Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed Aug 4, 2023
1 parent fc50778 commit 818d70e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test-app/tests/integration/helpers/liquid-spacer-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { setupRenderingTest, settled } from 'ember-qunit';
import { render, findAll } from '@ember/test-helpers';
import { testingKick } from 'liquid-fire/mutation-observer';
import LiquidSpacer from 'liquid-fire/components/liquid-spacer';
Expand Down Expand Up @@ -96,6 +96,7 @@ module('Integration: liquid-spacer', function (hooks) {
this.set('message', longMessage);
testingKick();
await tmap.waitUntilIdle();
await settled();
assert.strictEqual(
this.element.querySelector('#my-spacer').offsetWidth,
initialWidth,
Expand Down

0 comments on commit 818d70e

Please sign in to comment.