fix: remove duplicateIds on unique assets #26217
test.yml
on: pull_request
pre-job
6s
ShellCheck
6s
OpenAPI Clients
1m 26s
TypeORM Checks
1m 20s
Test & Lint Server
1m 53s
Unit Test CLI
0s
Unit Test CLI (Windows)
0s
Test & Lint Web
0s
End-to-End Lint
0s
Medium Tests (Server)
1m 52s
End-to-End Tests (Server & CLI)
3m 28s
End-to-End Tests (Web)
0s
Unit Test Mobile
0s
Unit Test ML
0s
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.
|