mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-04 22:00:59 -04: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
@@ -43,7 +43,7 @@ test.describe('Flash Message component E2E test', () => {
|
||||
|
||||
test('should be visible when a network error occurs', async ({ page }) => {
|
||||
await page.route(
|
||||
'*/**/user/session-user',
|
||||
'*/**/user/get-session-user',
|
||||
async route => await route.fulfill({ status: 500 })
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user