MCPcopy
hub / github.com/nextauthjs/next-auth / use-session-hook.test.js

File use-session-hook.test.js

packages/next-auth/src/client/__tests__/use-session-hook.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { rest } from "msw"
2import { renderHook } from "@testing-library/react-hooks"
3import { render, waitFor } from "@testing-library/react"
4import { SessionProvider, useSession, signOut } from "../../react"

Callers

nothing calls this directly

Calls 2

signOutFunction · 0.90
useSessionFunction · 0.90

Tested by

no test coverage detected