mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
test: fix ocr service medium test
This commit is contained in:
@@ -55,6 +55,7 @@ describe(OcrService.name, () => {
|
|||||||
assetId: asset.id,
|
assetId: asset.id,
|
||||||
boxScore: 0.99,
|
boxScore: 0.99,
|
||||||
id: expect.any(String),
|
id: expect.any(String),
|
||||||
|
updateId: expect.any(String),
|
||||||
text: 'Test OCR',
|
text: 'Test OCR',
|
||||||
textScore: 0.95,
|
textScore: 0.95,
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
@@ -105,6 +106,7 @@ describe(OcrService.name, () => {
|
|||||||
assetId: asset.id,
|
assetId: asset.id,
|
||||||
boxScore: 0.7,
|
boxScore: 0.7,
|
||||||
id: expect.any(String),
|
id: expect.any(String),
|
||||||
|
updateId: expect.any(String),
|
||||||
text: 'One',
|
text: 'One',
|
||||||
textScore: 0.9,
|
textScore: 0.9,
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
@@ -121,6 +123,7 @@ describe(OcrService.name, () => {
|
|||||||
assetId: asset.id,
|
assetId: asset.id,
|
||||||
boxScore: 0.67,
|
boxScore: 0.67,
|
||||||
id: expect.any(String),
|
id: expect.any(String),
|
||||||
|
updateId: expect.any(String),
|
||||||
text: 'Two',
|
text: 'Two',
|
||||||
textScore: 0.89,
|
textScore: 0.89,
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
@@ -137,6 +140,7 @@ describe(OcrService.name, () => {
|
|||||||
assetId: asset.id,
|
assetId: asset.id,
|
||||||
boxScore: 0.65,
|
boxScore: 0.65,
|
||||||
id: expect.any(String),
|
id: expect.any(String),
|
||||||
|
updateId: expect.any(String),
|
||||||
text: 'Three',
|
text: 'Three',
|
||||||
textScore: 0.88,
|
textScore: 0.88,
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
@@ -153,6 +157,7 @@ describe(OcrService.name, () => {
|
|||||||
assetId: asset.id,
|
assetId: asset.id,
|
||||||
boxScore: 0.62,
|
boxScore: 0.62,
|
||||||
id: expect.any(String),
|
id: expect.any(String),
|
||||||
|
updateId: expect.any(String),
|
||||||
text: 'Four',
|
text: 'Four',
|
||||||
textScore: 0.87,
|
textScore: 0.87,
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
@@ -169,6 +174,7 @@ describe(OcrService.name, () => {
|
|||||||
assetId: asset.id,
|
assetId: asset.id,
|
||||||
boxScore: 0.6,
|
boxScore: 0.6,
|
||||||
id: expect.any(String),
|
id: expect.any(String),
|
||||||
|
updateId: expect.any(String),
|
||||||
text: 'Five',
|
text: 'Five',
|
||||||
textScore: 0.86,
|
textScore: 0.86,
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user