Skip to content

Merge pull request #62 from wavlake/auth-refactor-phase1 #31

Merge pull request #62 from wavlake/auth-refactor-phase1

Merge pull request #62 from wavlake/auth-refactor-phase1 #31

Triggered via push July 21, 2025 19:36
Status Failure
Total duration 1m 15s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 10 warnings
src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts > useLegacyMigrationStateMachine > Firebase Authentication > should handle Firebase authentication errors: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L65
TypeError: makeLinkAccountRequest.mockResolvedValue is not a function ❯ src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts:65:37
src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts > useLegacyMigrationStateMachine > Initial State > should initialize with firebase-auth step: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L65
TypeError: makeLinkAccountRequest.mockResolvedValue is not a function ❯ src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts:65:37
test: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L185
Unexpected any. Specify a different type
test: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L153
Unexpected any. Specify a different type
test: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L131
Unexpected any. Specify a different type
test: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L108
Unexpected any. Specify a different type
test: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L85
Unexpected any. Specify a different type
test: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L65
Unexpected any. Specify a different type
test: src/hooks/auth/machines/useLegacyMigrationStateMachine.test.ts#L64
Unexpected any. Specify a different type
test: src/hooks/auth/machines/sharedTypes.ts#L194
Unexpected any. Specify a different type
test: src/hooks/auth/flows/useLegacyMigrationFlow.ts#L141
Unexpected any. Specify a different type
test: src/hooks/auth/flows/useLegacyMigrationFlow.ts#L124
Unexpected any. Specify a different type
test: src/hooks/auth/machines/sharedTypes.ts#L205
Cannot find name 'NostrAuthMethod'.
test: src/hooks/auth/machines/sharedTypes.ts#L52
Cannot find name 'NostrCredentials'.
test: src/hooks/auth/machines/sharedTypes.ts#L51
Cannot find name 'NostrAuthMethod'.
test: src/hooks/auth/machines/sharedTypes.ts#L37
Cannot find name 'NostrCredentials'.
test: src/hooks/auth/machines/sharedTypes.ts#L36
Cannot find name 'NostrAuthMethod'.
test: src/contexts/CommunityContext.tsx#L48
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
test: src/components/groups/GroupLinksContactForm.tsx#L59
The 'extractCurrentMetadata' function makes the dependencies of useEffect Hook (at line 105) change on every render. To fix this, wrap the definition of 'extractCurrentMetadata' in its own useCallback() Hook
test: src/components/dashboard/CommunitySelector.tsx#L228
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
test: src/components/dashboard/CommunitySelector.tsx#L219
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
test: src/components/dashboard/CommunityPrivileges.tsx#L124
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
test: src/components/auth/ui/NostrAuthErrorDisplay.tsx#L244
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
test: src/components/auth/ui/NostrAuthErrorDisplay.tsx#L230
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
test: src/components/auth/ui/NostrAuthErrorDisplay.tsx#L216
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
test: src/components/SentryErrorBoundary.tsx#L119
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
test: src/components/FirebaseAuthProvider.tsx#L575
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components