Skip to content

Commit

Permalink
test(backend): adjust unit test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Jul 1, 2024
1 parent 6f933e5 commit 5026021
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/backend/test/unit/FileInfoService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ describe('FileInfoService', () => {
delete info.sensitive;
delete info.porn;
assert.deepStrictEqual(info, {
size: 25360,
md5: '091b3f259662aa31e2ffef4519951168',
size: 5131,
md5: '8c9ed0677dd2b8f9f7472c3af247e5e3',
type: {
mime: 'image/jpeg',
ext: 'jpg',
},
width: 512,
height: 512,
width: 192,
height: 192,
orientation: undefined,
});
});
Expand Down

0 comments on commit 5026021

Please sign in to comment.