MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / mfa.routes.test.ts

File mfa.routes.test.ts

apps/api/tests/api/auth/mfa.routes.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeEach, describe, expect, test } from "bun:test";
2import { Secret, TOTP } from "otpauth";
3
4import {

Callers

nothing calls this directly

Calls 12

requireDbFunction · 0.90
cleanDatabaseFunction · 0.90
seedVerifiedUserFunction · 0.90
createAppFunction · 0.90
enrollViaServiceFunction · 0.85
isMfaRequiredFunction · 0.85
totpForFunction · 0.85
isAuthFunction · 0.85
verifyWithWrongCodeFunction · 0.85
uniqueEmailFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected