Skip to content

Commit 8603f7e

Browse files
committed
Changes incorporation w/o breaks
1 parent 8052924 commit 8603f7e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/integration/components/gleam-logo-test.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ module('Integration | Component | gleam-logo', function (hooks) {
8585

8686
test('it renders and initializes correctly', async function (assert) {
8787
await render(hbs`<GleamLogo @height={{200}} />`);
88+
await settled();
8889

8990
// Check container dimensions
9091
const container = this.element.querySelector('div');
@@ -105,9 +106,7 @@ module('Integration | Component | gleam-logo', function (hooks) {
105106

106107
test('it handles hover state correctly', async function (assert) {
107108
await render(hbs`<GleamLogo />`);
108-
109-
// Wait for the component to fully initialize
110-
await new Promise((resolve) => setTimeout(resolve, 0));
109+
await settled();
111110

112111
const container = this.element.querySelector('div');
113112
assert.ok(container, 'Container exists');
@@ -131,7 +130,7 @@ module('Integration | Component | gleam-logo', function (hooks) {
131130
assert.false(hoverInput.value, 'Hover input is initially false');
132131

133132
// Wait for hover out timeout
134-
await new Promise((resolve) => setTimeout(resolve, 1000));
133+
await settled();
135134
assert.false(hoverInput.value, 'Hover input is set to false after timeout');
136135
});
137136
});

0 commit comments

Comments
 (0)