mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(e2e): mock get-session-user (i.e. what the client requests) (#66765)
Thanks Oliver!
This commit is contained in:
committed by
GitHub
parent
b24fa81f54
commit
56d2c64df5
+1
-1
@@ -43,7 +43,7 @@ test.describe('Flash Message component E2E test', () => {
|
|||||||
|
|
||||||
test('should be visible when a network error occurs', async ({ page }) => {
|
test('should be visible when a network error occurs', async ({ page }) => {
|
||||||
await page.route(
|
await page.route(
|
||||||
'*/**/user/session-user',
|
'*/**/user/get-session-user',
|
||||||
async route => await route.fulfill({ status: 500 })
|
async route => await route.fulfill({ status: 500 })
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user