@clerk/testing
Version:
Utilities to help you create E2E test suites for apps using Clerk
30 lines • 704 B
TypeScript
export type ClerkSetupOptions = {
debug?: boolean;
frontendApiUrl?: string;
publishableKey?: string;
secretKey?: string;
dotenv?: boolean;
};
export type ClerkSetupReturn = {
CLERK_FAPI?: string;
CLERK_TESTING_TOKEN?: string;
};
export type SetupClerkTestingTokenOptions = {
frontendApiUrl?: string;
};
export type ClerkSignInParams = {
strategy: 'password';
password: string;
identifier: string;
} | {
strategy: 'phone_code' | 'email_code';
identifier: string;
} | {
strategy: 'ticket';
ticket: string;
};
export type SignInHelperParams = {
signInParams: ClerkSignInParams;
windowObject?: Window;
};
//# sourceMappingURL=types.d.ts.map