Skip to content

fix: remove duplicateIds on unique assets #26217

fix: remove duplicateIds on unique assets

fix: remove duplicateIds on unique assets #26217

Triggered via pull request October 26, 2024 22:01
Status Failure
Total duration 3m 55s
Artifacts

test.yml

on: pull_request
Test & Lint Server
1m 53s
Test & Lint Server
Unit Test CLI
0s
Unit Test CLI
Unit Test CLI (Windows)
0s
Unit Test CLI (Windows)
Test & Lint Web
0s
Test & Lint Web
End-to-End Lint
0s
End-to-End Lint
Medium Tests (Server)
1m 52s
Medium Tests (Server)
End-to-End Tests (Server & CLI)
3m 28s
End-to-End Tests (Server & CLI)
End-to-End Tests (Web)
0s
End-to-End Tests (Web)
Unit Test Mobile
0s
Unit Test Mobile
Unit Test ML
0s
Unit Test ML
Fit to window
Zoom out
Zoom in

Annotations

3 errors
TypeORM Checks
Process completed with exit code 1.
src/services/duplicate.service.spec.ts > SearchService > getDuplicates > should get duplicates: server/src/services/duplicate.service.spec.ts#L35
AssertionError: expected [] to deeply equal [ { …(2) } ] - Expected + Received - Array [ - Object { - "assets": Array [ - ObjectContaining { - "id": "asset-id-dupe", - }, - ], - "duplicateId": "duplicate-id", - }, - ] + Array [] ❯ src/services/duplicate.service.spec.ts:35:7
Test & Lint Server
Process completed with exit code 1.