You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Sets up Clerk for testing by fetching the testing token from the Clerk Backend API.
*
* @param options.publishableKey - The publishable key for your Clerk dev instance.
* @param options.frontendApiUrl - The frontend API URL for your Clerk dev instance, without the protocol. It overrides the Frontend API URL parsed from the publishable key.
* @param options.debug - Enable debug logs.
* @returns A promise that resolves when Clerk is set up.
*
* @throws An error if the publishable key or the secret key is not provided.
* @throws An error if the secret key is from a production instance.
* @throws An error if the testing token cannot be fetched from the Clerk Backend API.