chore/improve tests #20
Annotations
11 errors
Run tests:
src/foundry/__tests__/client.test.ts#L243
AssertionError: expected "spy" to be called 3 times, but got 1 times
❯ src/foundry/__tests__/client.test.ts:243:37
|
Run tests:
src/foundry/__tests__/client.test.ts#L220
AssertionError: promise resolved "{ actors: [], total: +0, page: 1, …(1) }" instead of rejecting
- Expected
+ Received
- [Error: rejected promise]
+ Object {
+ "actors": Array [],
+ "limit": 10,
+ "page": 1,
+ "total": 0,
+ }
❯ src/foundry/__tests__/client.test.ts:220:58
|
Run tests:
src/__tests__/integration.test.ts#L390
AssertionError: expected "spy" to be called 3 times, but got 0 times
❯ src/__tests__/integration.test.ts:390:37
|
Run tests:
src/__tests__/integration.test.ts#L353
AssertionError: promise resolved "{ actors: [], total: +0, page: 1, …(1) }" instead of rejecting
- Expected
+ Received
- [Error: rejected promise]
+ Object {
+ "actors": Array [],
+ "limit": 10,
+ "page": 1,
+ "total": 0,
+ }
❯ src/__tests__/integration.test.ts:353:58
|
Run tests:
src/__tests__/integration.test.ts#L321
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/__tests__/integration.test.ts:321:28
|
Run tests:
src/__tests__/integration.test.ts#L266
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/__tests__/integration.test.ts:266:29
|
Run tests:
src/__tests__/integration.test.ts#L212
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/__tests__/integration.test.ts:212:36
|
Run tests:
src/__tests__/integration.test.ts#L148
AssertionError: expected [Function] to throw an error
❯ src/__tests__/integration.test.ts:148:10
|
Run tests:
src/__tests__/integration.test.ts#L127
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/__tests__/integration.test.ts:127:29
|
Run tests:
src/__tests__/integration.test.ts#L91
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/__tests__/integration.test.ts:91:36
|
|
Loading