MCPcopy Create free account
hub / github.com/dailydotdev/apps / useRefreshToken.spec.ts

File useRefreshToken.spec.ts

packages/shared/src/hooks/useRefreshToken.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { act, renderHook } from '@testing-library/react';
2import { useRefreshToken } from './useRefreshToken';
3import type { AccessToken } from '../lib/boot';
4import { ONE_MINUTE } from '../lib/time';

Callers

nothing calls this directly

Calls 3

useRefreshTokenFunction · 0.90
createTokenFunction · 0.85
expiredFunction · 0.85

Tested by

no test coverage detected