Skip to content

Commit 535f463

Browse files
committed
✅ fixing tests
1 parent d181f33 commit 535f463

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/src/ContextPage.njs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class ContextPage extends Nullstack {
5252
<button onclick={this.requestStatus} data-request-status>
5353
401
5454
</button>
55-
<button source={page} onclick={this.updateHead} data-update-head>
55+
<button onclick={this.updateHead} data-update-head>
5656
title
5757
</button>
5858
</div>

tests/src/ContextPage.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ describe('ContextPage', () => {
8383

8484
describe('ContextPage updated', () => {
8585
beforeAll(async () => {
86-
await page.waitForSelector('[data-application-hydrated]')
8786
await page.goto('http://localhost:6969/context-page')
87+
await page.waitForSelector('[data-application-hydrated]')
8888
await page.click('[data-update-head]')
8989
})
9090

0 commit comments

Comments
 (0)