MCPcopy
hub / github.com/directus/directus / authentication.test.ts

File authentication.test.ts

api/src/services/authentication.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { InvalidCredentialsError, InvalidOtpError, ServiceUnavailableError } from '@directus/errors';
2import { SchemaBuilder } from '@directus/schema-builder';
3import knex, { type Knex } from 'knex';
4import { createTracker, MockClient, type Tracker } from 'knex-mock-client';

Callers

nothing calls this directly

Calls 15

describeFunction · 0.85
setupHappyPathTrackerFunction · 0.85
resolveMethod · 0.80
collectionMethod · 0.80
fieldMethod · 0.80
defaultMethod · 0.80
primaryMethod · 0.65
loginMethod · 0.65
deleteMethod · 0.65
refreshMethod · 0.65
logoutMethod · 0.65
buildMethod · 0.45

Tested by

no test coverage detected