Add useWaitForPendingWritesQuery #28
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 3 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 3
❯ 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#L85
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ packages/react/src/firestore/useCollectionQuery.test.tsx:85:29
|
packages/react/src/firestore/useCollectionQuery.test.tsx > useCollectionQuery > returns pending state initially:
packages/react/src/firestore/useCollectionQuery.test.tsx#L136
AssertionError: expected 4 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 4
❯ packages/react/src/firestore/useCollectionQuery.test.tsx:136:28
|
packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx > useGetAggregateFromServerQuery > returns correct aggregate values for non-empty collection:
packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx#L77
AssertionError: expected null to be 20 // Object.is equality
- Expected:
20
+ Received:
null
❯ packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx:77:54
|
packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx > useGetAggregateFromServerQuery > handles complex queries:
packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx#L110
AssertionError: expected null to be 20 // Object.is equality
- Expected:
20
+ Received:
null
❯ packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx:110:62
|
packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx > useGetAggregateFromServerQuery > returns pending state initially:
packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx#L152
AssertionError: expected 3 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 3
❯ packages/react/src/firestore/useGetAggregateFromServerQuery.test.tsx:152:47
|
packages/react/src/firestore/useGetCountFromServerQuery.test.tsx > useGetCountFromServerQuery > returns correct count for empty collection:
packages/react/src/firestore/useGetCountFromServerQuery.test.tsx#L41
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ packages/react/src/firestore/useGetCountFromServerQuery.test.tsx:41:47
|
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/
|