Operator for join #215
Annotations
2 errors and 4 warnings
src/zql/ivm/graph/operators/join-operator.test.ts > join through a junction table:
src/zql/ivm/graph/operators/join-operator.test.ts#L479
AssertionError: expected [ [ …(2) ], [ …(2) ], …(3) ] to deeply equal [ [ …(2) ], [ …(2) ] ]
- Expected
+ Received
Array [
Array [
Object {
"artist": Object {
"id": 1,
"name": "Artist A",
},
"id": "1_1-1_1",
"track": Object {
"albumId": 1,
"id": 1,
"length": 1,
+ "title": "Track One",
+ },
+ "trackArtist": Object {
+ "artistId": 1,
+ "trackId": 1,
+ },
+ Symbol(): true,
+ },
+ 1,
+ ],
+ Array [
+ Object {
+ "artist": Object {
+ "id": 1,
+ "name": "Artist A",
+ },
+ "id": "1_1_1-1",
+ "track": Object {
+ "albumId": 1,
+ "id": 1,
+ "length": 1,
+ "title": "Track One",
+ },
+ "trackArtist": Object {
+ "artistId": 1,
+ "trackId": 1,
+ },
+ Symbol(): true,
+ },
+ -1,
+ ],
+ Array [
+ Object {
+ "artist": Object {
+ "id": 1,
+ "name": "Artist A",
+ },
+ "id": "1_1_1-1",
+ "track": Object {
+ "albumId": 1,
+ "id": 1,
+ "length": 1,
"title": "Track A",
},
"trackArtist": Object {
"artistId": 1,
"trackId": 1,
},
Symbol(): true,
+ },
+ 2,
+ ],
+ Array [
+ Object {
+ "artist": Object {
+ "id": 1,
+ "name": "Artist A",
},
- 1,
+ "id": "1_1_1-1",
+ "track": Object {
+ "albumId": 1,
+ "id": 1,
+ "length": 1,
+ "title": "Track A",
+ },
+ "trackArtist": Object {
+ "artistId": 1,
+ "trackId": 1,
+ },
+ Symbol(): true,
+ },
+ 2,
],
Array [
Object {
"artist": Object {
"id": 2,
"name": "Artist B",
},
- "id": "2_2-2_2",
+ "id": "2_2_2-2",
"track": Object {
"albumId": 1,
"id": 2,
"length": 1,
"title": "Track B",
},
"trackArtist": Object {
"artistId": 2,
"trackId": 2,
},
Symbol(): true,
},
1,
],
]
❯ src/zql/ivm/graph/operators/join-operator.test.ts:479:16
|
Test
Process completed with exit code 1.
|
Prettier
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check Types
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|