feat: add useSendEmailVerificationMutation hook #123
Annotations
10 errors and 1 warning
packages/react/src/auth/useDeleteUserMutation.test.tsx > useVerifyPasswordResetCodeMutation > successfully verifies the reset code:
packages/react/src/auth/useDeleteUserMutation.test.tsx#L28
FirebaseError: Firebase: Error (auth/email-already-in-use).
❯ createErrorInternal node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:146:55
❯ _createError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:83:10
❯ _makeTaggedError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:331:17
❯ _performFetchWithErrorHandling node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:211:15
❯ _performSignInRequest node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:244:26
❯ Module.createUserWithEmailAndPassword node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/strategies/email_and_password.ts:302:20
❯ packages/react/src/auth/useDeleteUserMutation.test.tsx:28:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'auth/email-already-in-use', customData: { appName: '[DEFAULT]', _tokenResponse: { error: { code: 400, message: 'EMAIL_EXISTS', errors: [ { message: 'EMAIL_EXISTS', reason: 'invalid', domain: 'global' } ] } } } }
|
packages/react/src/auth/useDeleteUserMutation.test.tsx > useVerifyPasswordResetCodeMutation > resets mutation state correctly:
packages/react/src/auth/useDeleteUserMutation.test.tsx#L28
FirebaseError: Firebase: Error (auth/email-already-in-use).
❯ createErrorInternal node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:146:55
❯ _createError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:83:10
❯ _makeTaggedError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:331:17
❯ _performFetchWithErrorHandling node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:211:15
❯ _performSignInRequest node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:244:26
❯ Module.createUserWithEmailAndPassword node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/strategies/email_and_password.ts:302:20
❯ packages/react/src/auth/useDeleteUserMutation.test.tsx:28:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'auth/email-already-in-use', customData: { appName: '[DEFAULT]', _tokenResponse: { error: { code: 400, message: 'EMAIL_EXISTS', errors: [ { message: 'EMAIL_EXISTS', reason: 'invalid', domain: 'global' } ] } } } }
|
packages/react/src/auth/useDeleteUserMutation.test.tsx > useVerifyPasswordResetCodeMutation > should call onSuccess when the user is successfully deleted:
packages/react/src/auth/useDeleteUserMutation.test.tsx#L28
FirebaseError: Firebase: Error (auth/email-already-in-use).
❯ createErrorInternal node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:146:55
❯ _createError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:83:10
❯ _makeTaggedError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:331:17
❯ _performFetchWithErrorHandling node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:211:15
❯ _performSignInRequest node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:244:26
❯ Module.createUserWithEmailAndPassword node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/strategies/email_and_password.ts:302:20
❯ packages/react/src/auth/useDeleteUserMutation.test.tsx:28:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'auth/email-already-in-use', customData: { appName: '[DEFAULT]', _tokenResponse: { error: { code: 400, message: 'EMAIL_EXISTS', errors: [ { message: 'EMAIL_EXISTS', reason: 'invalid', domain: 'global' } ] } } } }
|
packages/react/src/auth/useReloadMutation.test.tsx > useReloadMutation > should successfully reloads user data:
packages/react/src/auth/useReloadMutation.test.tsx#L31
FirebaseError: Firebase: Error (auth/email-already-in-use).
❯ createErrorInternal node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:146:55
❯ _createError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:83:10
❯ _makeTaggedError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:331:17
❯ _performFetchWithErrorHandling node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:211:15
❯ _performSignInRequest node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:244:26
❯ Module.createUserWithEmailAndPassword node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/strategies/email_and_password.ts:302:20
❯ packages/react/src/auth/useReloadMutation.test.tsx:31:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'auth/email-already-in-use', customData: { appName: '[DEFAULT]', _tokenResponse: { error: { code: 400, message: 'EMAIL_EXISTS', errors: [ { message: 'EMAIL_EXISTS', reason: 'invalid', domain: 'global' } ] } } } }
|
packages/react/src/auth/useReloadMutation.test.tsx > useReloadMutation > should handle onSuccess callback:
packages/react/src/auth/useReloadMutation.test.tsx#L31
FirebaseError: Firebase: Error (auth/email-already-in-use).
❯ createErrorInternal node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:146:55
❯ _createError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/util/assert.ts:83:10
❯ _makeTaggedError node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:331:17
❯ _performFetchWithErrorHandling node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:211:15
❯ _performSignInRequest node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/api/index.ts:244:26
❯ Module.createUserWithEmailAndPassword node_modules/.pnpm/@firebase[email protected]_@[email protected]/node_modules/@firebase/auth/src/core/strategies/email_and_password.ts:302:20
❯ packages/react/src/auth/useReloadMutation.test.tsx:31:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'auth/email-already-in-use', customData: { appName: '[DEFAULT]', _tokenResponse: { error: { code: 400, message: 'EMAIL_EXISTS', errors: [ { message: 'EMAIL_EXISTS', reason: 'invalid', domain: 'global' } ] } } } }
|
packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx > useSendSignInLinkToEmailMutation > resets mutation state correctly:
packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx#L16
ReferenceError: React is not defined
❯ wrapper packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx:16:3
❯ Object.react-stack-bottom-frame node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:22428:20
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:5757:22
❯ updateFunctionComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8018:19
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:9683:18
❯ runWithFiberInDEV node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:543:16
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:15052:22
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14870:41
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14850:11
❯ performWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14384:44
|
packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx > useSendSignInLinkToEmailMutation > successfully sends sign-in link to email:
packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx#L16
ReferenceError: React is not defined
❯ wrapper packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx:16:3
❯ Object.react-stack-bottom-frame node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:22428:20
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:5757:22
❯ updateFunctionComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8018:19
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:9683:18
❯ runWithFiberInDEV node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:543:16
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:15052:22
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14870:41
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14850:11
❯ performWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14384:44
|
packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx > useSendSignInLinkToEmailMutation > allows multiple sequential send attempts:
packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx#L16
ReferenceError: React is not defined
❯ wrapper packages/react/src/auth/useSendSignInLinkToEmailMutation.test.tsx:16:3
❯ Object.react-stack-bottom-frame node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:22428:20
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:5757:22
❯ updateFunctionComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8018:19
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:9683:18
❯ runWithFiberInDEV node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:543:16
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:15052:22
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14870:41
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14850:11
❯ performWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14384:44
|
packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx > useSignInAnonymouslyMutation > successfully signs in anonymously:
packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx#L24
ReferenceError: React is not defined
❯ wrapper packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx:24:3
❯ Object.react-stack-bottom-frame node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:22428:20
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:5757:22
❯ updateFunctionComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8018:19
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:9683:18
❯ runWithFiberInDEV node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:543:16
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:15052:22
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14870:41
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14850:11
❯ performWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14384:44
|
packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx > useSignInAnonymouslyMutation > resets mutation state correctly:
packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx#L24
ReferenceError: React is not defined
❯ wrapper packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx:24:3
❯ Object.react-stack-bottom-frame node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:22428:20
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:5757:22
❯ updateFunctionComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8018:19
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:9683:18
❯ runWithFiberInDEV node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:543:16
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:15052:22
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14870:41
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14850:11
❯ performWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:14384:44
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|