Skip to content

Commit f76a725

Browse files
committed
02/04: run prod build for tests
1 parent e5379aa commit f76a725

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

exercises/02.authentication/04.solution.third-party-providers/tests/e2e/authentication-github.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ test('authenticates the user with a connected GitHub account', async ({
4949
await page.getByRole('button', { name: 'Login with GitHub' }).click()
5050

5151
await expect(page.getByRole('link', { name: user.name! })).toBeVisible()
52-
await expect(page.getByText('Your "kody" GitHub account')).toBeVisible()
52+
await expect(
53+
page.getByText('Your "kody" GitHub account has been connected'),
54+
).toBeVisible()
5355
})

exercises/02.authentication/04.solution.third-party-providers/tests/test-extend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const launcher = defineLauncher({
6969
}
7070
},
7171
command() {
72-
return 'npm run dev'
72+
return 'npm run start:mocks'
7373
},
7474
url({ context }) {
7575
return `http://localhost:${context.port}`

0 commit comments

Comments
 (0)