Skip to content

Commit 5d63c43

Browse files
authored
Merge pull request #601 from preactjs/fix-tests-after-core-fix
Fix wrong assertions after core fix
2 parents b703939 + 24fa2b2 commit 5d63c43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/signals.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ describe('Signals', () => {
123123
);
124124

125125
await timeout(TIMEOUT);
126-
await expectByPolling(() => getText(countValue), 'count: 1');
126+
await expectByPolling(() => getText(countValue), 'count: 0');
127127

128128
await increment.click();
129129
await increment.click();
@@ -135,6 +135,7 @@ describe('Signals', () => {
135135
content.replace('count:', 'Count:')
136136
);
137137
await timeout(TIMEOUT);
138+
await expectByPolling(() => getText(countValue), 'Count: 0');
138139

139140
await increment.click();
140141
await expectByPolling(() => getText(countValue), 'Count: 1');

0 commit comments

Comments
 (0)