MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / signout

Function signout

e2e/utils/logout.ts:3–5  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

1import { Page } from '@playwright/test';
2
3export async function signout(page: Page) {
4 await page.context().clearCookies({ name: 'jwt_access_token' });
5}

Callers 1

lower-jaw.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected