Skip to content

Add useRunTransactionMutation #14

Add useRunTransactionMutation

Add useRunTransactionMutation #14

Triggered via pull request September 30, 2024 08:39
Status Failure
Total duration 1m 8s
Artifacts

tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx > useSignInAnonymouslyMutation > successfully signs in anonymously: vitest/utils.ts#L42
TypeError: fetch failed ❯ Module.wipeAuth vitest/utils.ts:42:20 ❯ packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx:30:5 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1118:18)\n' + ' at afterConnectMultiple (node:net:1685:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:9099\n' + ' at createConnectionError (node:net:1648:14)\n' + ' at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:9099\n' + ' at createConnectionError (node:net:1648:14)\n' + ' at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', stackStr: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1118:18)\n' + ' at afterConnectMultiple (node:net:1685:7)', nameStr: 'AggregateError', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:9099\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:9099\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx > useSignInAnonymouslyMutation > resets mutation state correctly: vitest/utils.ts#L42
TypeError: fetch failed ❯ Module.wipeAuth vitest/utils.ts:42:20 ❯ packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx:30:5 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1118:18)\n' + ' at afterConnectMultiple (node:net:1685:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:9099\n' + ' at createConnectionError (node:net:1648:14)\n' + ' at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:9099\n' + ' at createConnectionError (node:net:1648:14)\n' + ' at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', stackStr: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1118:18)\n' + ' at afterConnectMultiple (node:net:1685:7)', nameStr: 'AggregateError', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:9099\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:9099\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx > useSignInAnonymouslyMutation > allows multiple sequential sign-ins: vitest/utils.ts#L42
TypeError: fetch failed ❯ Module.wipeAuth vitest/utils.ts:42:20 ❯ packages/react/src/auth/useSignInAnonymouslyMutation.test.tsx:30:5 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1118:18)\n' + ' at afterConnectMultiple (node:net:1685:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:9099\n' + ' at createConnectionError (node:net:1648:14)\n' + ' at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:9099\n' + ' at createConnectionError (node:net:1648:14)\n' + ' at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', stackStr: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1118:18)\n' + ' at afterConnectMultiple (node:net:1685:7)', nameStr: 'AggregateError', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:9099\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:9099\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:9099', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 9099, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
packages/react/src/firestore/useCollectionQuery.test.tsx > useCollectionQuery > fetches and returns documents from Firestore collection: packages/react/src/firestore/useCollectionQuery.test.tsx#L58
AssertionError: expected 4 to be 2 // Object.is equality - Expected + Received - 2 + 4 ❯ packages/react/src/firestore/useCollectionQuery.test.tsx:58:27
packages/react/src/firestore/useCollectionQuery.test.tsx > useCollectionQuery > fetches collection from server source: packages/react/src/firestore/useCollectionQuery.test.tsx#L80
AssertionError: expected false to be true // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <p class="firebase-emulator-warning" style="position: fixed; width: 100%; background-color: #ffffff; border: 0.1em solid #000000; color: #b50000; bottom: 0px; left: 0px; margin: 0px; z-index: 10000; text-align: center;" > Running in emulator mode. Do not use with production credentials. </p> <div /> <div /> </body> </html> - Expected + Received - true + false ❯ packages/react/src/firestore/useCollectionQuery.test.tsx:80:40 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
packages/react/src/firestore/useCollectionQuery.test.tsx > useCollectionQuery > handles restricted collections appropriately: packages/react/src/firestore/useCollectionQuery.test.tsx#L107
AssertionError: expected false to be true // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <p class="firebase-emulator-warning" style="position: fixed; width: 100%; background-color: #ffffff; border: 0.1em solid #000000; color: #b50000; bottom: 0px; left: 0px; margin: 0px; z-index: 10000; text-align: center;" > Running in emulator mode. Do not use with production credentials. </p> <div /> <div /> <div /> </body> </html> - Expected + Received - true + false ❯ packages/react/src/firestore/useCollectionQuery.test.tsx:107:38 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
packages/react/src/firestore/useCollectionQuery.test.tsx > useCollectionQuery > returns pending state initially: packages/react/src/firestore/useCollectionQuery.test.tsx#L131
AssertionError: expected false to be true // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <p class="firebase-emulator-warning" style="position: fixed; width: 100%; background-color: #ffffff; border: 0.1em solid #000000; color: #b50000; bottom: 0px; left: 0px; margin: 0px; z-index: 10000; text-align: center;" > Running in emulator mode. Do not use with production credentials. </p> <div /> <div /> <div /> <div /> </body> </html> - Expected + Received - true + false ❯ packages/react/src/firestore/useCollectionQuery.test.tsx:131:40 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
packages/react/src/firestore/useCollectionQuery.test.tsx > useCollectionQuery > returns correct data type: packages/react/src/firestore/useCollectionQuery.test.tsx#L156
AssertionError: expected false to be true // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <p class="firebase-emulator-warning" style="position: fixed; width: 100%; background-color: #ffffff; border: 0.1em solid #000000; color: #b50000; bottom: 0px; left: 0px; margin: 0px; z-index: 10000; text-align: center;" > Running in emulator mode. Do not use with production credentials. </p> <div /> <div /> <div /> <div /> <div /> </body> </html> - Expected + Received - true + false ❯ packages/react/src/firestore/useCollectionQuery.test.tsx:156:40 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
packages/react/src/firestore/useCollectionQuery.test.tsx > useCollectionQuery > handles complex queries: packages/react/src/firestore/useCollectionQuery.test.tsx#L187
AssertionError: expected false to be true // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <p class="firebase-emulator-warning" style="position: fixed; width: 100%; background-color: #ffffff; border: 0.1em solid #000000; color: #b50000; bottom: 0px; left: 0px; margin: 0px; z-index: 10000; text-align: center;" > Running in emulator mode. Do not use with production credentials. </p> <div /> <div /> <div /> <div /> <div /> <div /> </body> </html> - Expected + Received - true + false ❯ packages/react/src/firestore/useCollectionQuery.test.tsx:187:40 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/