api: header and parameter names. #1030
Annotations
10 errors
Run pnpm test:
packages/typescript-client/test/cache.test.ts#L145
AssertionError: expected 400 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 400
❯ test/cache.test.ts:145:40
|
Run pnpm test:
packages/typescript-client/test/cache.test.ts#L179
AssertionError: expected 400 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 400
❯ test/cache.test.ts:179:40
|
Run pnpm test:
packages/typescript-client/test/cache.test.ts#L252
AssertionError: expected 400 to be 409 // Object.is equality
- Expected
+ Received
- 409
+ 400
❯ test/cache.test.ts:252:28
|
Run pnpm test:
packages/typescript-client/test/client.test.ts#L252
AssertionError: expected false to be true
- Expected
+ Received
- true
+ false
❯ test/client.test.ts:252:37
|
Run pnpm test:
packages/typescript-client/test/fetch.test.ts#L222
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Received:
1st spy call:
Array [
- "https://example.com/v1/shape/foo?shape_handle=123&offset=456",
- Anything,
+ "https://example.com/v1/shape/foo",
]
2nd spy call:
Array [
- "https://example.com/v1/shape/foo?shape_handle=123&offset=456",
- Anything,
+ "https://example.com/v1/shape/foo?handle=123&offset=456",
+ Object {
+ "signal": AbortSignal {
+ Symbol(kEvents): Map {},
+ Symbol(events.maxEventTargetListeners): 10,
+ Symbol(events.maxEventTargetListenersWarned): false,
+ Symbol(kHandlers): Map {},
+ Symbol(kAborted): false,
+ Symbol(kReason): undefined,
+ Symbol(kComposite): false,
+ },
+ },
]
Number of calls: 2
❯ test/fetch.test.ts:222:23
|
Run pnpm test:
packages/typescript-client/test/fetch.test.ts#L251
AssertionError: expected 2nd "spy" call to have been called with [ …(2) ]
- Expected
+ Received
Array [
- "https://example.com/v1/shape/foo?shape_handle=123&offset=0",
+ "https://example.com/v1/shape/foo?handle=123&offset=0",
Anything,
]
❯ test/fetch.test.ts:251:23
|
Run pnpm test:
packages/typescript-client/src/fetch.ts#L248
TypeError: Cannot read properties of undefined (reading 'headers')
❯ getNextChunkUrl src/fetch.ts:248:27
❯ prefetchClient src/fetch.ts:133:21
❯ test/fetch.test.ts:301:24
|
Run pnpm test:
packages/typescript-client/test/fetch.test.ts#L343
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Received:
1st spy call:
Array [
- "https://example.com/v1/shape/foo?shape_handle=123&offset=456",
- Anything,
+ "https://example.com/v1/shape/foo",
]
2nd spy call:
Array [
- "https://example.com/v1/shape/foo?shape_handle=123&offset=456",
- Anything,
+ "https://example.com/v1/shape/foo?handle=123&offset=456",
+ Object {
+ "signal": AbortSignal {
+ Symbol(kEvents): Map {},
+ Symbol(events.maxEventTargetListeners): 10,
+ Symbol(events.maxEventTargetListenersWarned): false,
+ Symbol(kHandlers): Map {},
+ Symbol(kAborted): false,
+ Symbol(kReason): undefined,
+ Symbol(kComposite): false,
+ },
+ },
]
Number of calls: 2
❯ test/fetch.test.ts:343:23
|
Run pnpm test:
packages/typescript-client/test/fetch.test.ts#L382
AssertionError: expected 2nd "spy" call to have been called with [ …(2) ]
- Expected
+ Received
Array [
- "https://example.com/v1/shape/foo?shape_handle=123&offset=0",
+ "https://example.com/v1/shape/foo?handle=123&offset=0",
Anything,
]
❯ test/fetch.test.ts:382:23
|
Run pnpm test:
packages/typescript-client/test/integration.test.ts#L305
AssertionError: expected [ { txt: 'test', i2: 1, …(18) } ] to match object [ { txt: 'changed', i2: 1, …(18) } ]
(3 matching properties omitted from actual)
- Expected
+ Received
Array [
Object {
- "b": false,
+ "b": true,
"bools": Array [
- false,
true,
false,
+ true,
],
"complexes": Array [
- "(2.2,3.3)",
- "(4.4,5.5)",
+ "(1.1,2.2)",
+ "(3.3,4.4)",
],
"doubles": Array [
Infinity,
- NaN,
-Infinity,
+ NaN,
],
- "f8": 40.5,
+ "f8": 4.5,
"i2": 1,
- "i4": 20,
- "i8": 30n,
+ "i4": 2147483647,
+ "i8": 9223372036854775807n,
"int4s": Array [
- 4,
- 5,
- 6,
+ 1,
+ 2,
+ 3,
],
"ints": Array [
- 4n,
- 5n,
- 6n,
+ 1n,
+ 2n,
+ 3n,
],
"ints2": Array [
Array [
+ 1n,
+ 2n,
+ 3n,
+ ],
+ Array [
4n,
5n,
6n,
],
- Array [
- 7n,
- 8n,
- 9n,
- ],
],
"json": Object {
- "bar": "foo",
+ "foo": "bar",
},
"jsonb": Object {
- "bar": "foo",
+ "foo": "bar",
},
"jsons": Array [
- Object {},
+ Object {
+ "foo": "bar",
+ },
+ Object {
+ "bar": "baz",
+ },
],
"moods": Array [
"sad",
+ "ok",
"happy",
],
"moods2": Array [
Array [
"sad",
- "happy",
+ "ok",
],
Array [
+ "ok",
"happy",
- "ok",
],
],
"posints": Array [
- "6",
- "10",
- "3",
+ "5",
+ "9",
+ "2",
],
- "txt": "changed",
+ "txt": "test",
"txts": Array [
- "new",
- "values",
+ "foo",
+ "bar",
+ "baz",
],
"value": Object {
- "a": 6,
+ "a": 5,
},
},
]
❯ test/integration.test.ts:305:41
|
Loading