Events v2 demo branch #16842
Annotations
6 errors
Run Unit Test:
packages/events/src/service/deduplication/deduplication.test.ts#L190
AssertionError: expected [ { score: 2, event: { …(3) } } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "event": Object {
+ "data": Object {
+ "child.DoB": "2011-11-11",
+ "child.familyName": "Smith",
+ "child.firstNames": "John",
+ "mother.DoB": "2000-11-11",
+ "mother.familyName": "Smith",
+ "mother.firstNames": "Mother",
+ "mother.identifier": "23412387",
+ },
+ "id": "b5293448-cb00-4800-a7dc-326997599fe2",
+ "transactionId": "f829d7f5-f818-4ffb-a3d9-965aa5458e78",
+ },
+ "score": 2,
+ },
+ ]
❯ src/service/deduplication/deduplication.test.ts:190:5
|
Run Unit Test:
packages/events/src/service/deduplication/deduplication.test.ts#L210
AssertionError: expected [ { score: 2, event: { …(3) } } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "event": Object {
+ "data": Object {
+ "child.DoB": "2011-11-11",
+ "child.familyName": "Smith",
+ "child.firstNames": "John",
+ "mother.DoB": "2000-11-11",
+ "mother.familyName": "Smith",
+ "mother.firstNames": "Mother",
+ "mother.identifier": "23412387",
+ },
+ "id": "3578d529-7876-41d1-adea-c3a163f156bf",
+ "transactionId": "9368a082-9ca6-4fbe-8a77-7f720b5ebc2c",
+ },
+ "score": 2,
+ },
+ ]
❯ src/service/deduplication/deduplication.test.ts:210:5
|
Run Unit Test:
packages/events/src/service/deduplication/deduplication.test.ts#L284
AssertionError: expected [ { score: 2, event: { …(3) } } ] to have a length of +0 but got 1
- Expected
+ Received
- 0
+ 1
❯ src/service/deduplication/deduplication.test.ts:284:5
|
Run Unit Test:
packages/events/src/service/deduplication/deduplication.test.ts#L299
AssertionError: expected [ { score: 2, event: { …(3) } } ] to have a length of +0 but got 1
- Expected
+ Received
- 0
+ 1
❯ src/service/deduplication/deduplication.test.ts:299:5
|
Run Unit Test:
packages/events/src/service/deduplication/deduplication.test.ts#L341
AssertionError: expected [ { score: 2, event: { …(3) } } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "event": Object {
+ "data": Object {
+ "child.DoB": "2011-11-11",
+ "child.familyName": "Smith",
+ "child.firstNames": "John",
+ "mother.DoB": "2000-11-12",
+ "mother.familyName": "Smith",
+ "mother.firstNames": "Mother",
+ "mother.identifier": "23412387",
+ },
+ "id": "58e12ef3-dcaf-46ed-87c1-9edcf2dd79d6",
+ "transactionId": "ac5b4806-6335-4f01-a3ef-994fbd964450",
+ },
+ "score": 2,
+ },
+ ]
❯ src/service/deduplication/deduplication.test.ts:341:7
|
Run Unit Test
Process completed with exit code 1.
|
Loading