feat: remove tag from assets when it is deleted #27185
Annotations
4 errors
Run tsc
Type '{ create: Mock<(asset: AssetCreate) => Promise<AssetEntity>>; upsertExif: Mock<(exif: Partial<ExifEntity>) => Promise<void>>; ... 32 more ...; upsertFiles: Mock<...>; }' is not assignable to type 'Mocked<IAssetRepository>'.
|
Run tsc
Process completed with exit code 2.
|
Run small tests & coverage:
server/src/services/tag.service.ts#L73
TypeError: this.assetRepository.getByTagId is not a function
❯ TagService.remove src/services/tag.service.ts:73:52
❯ src/services/tag.service.spec.ts:167:7
|
Run small tests & coverage
Process completed with exit code 1.
|
Loading