mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
cleanup
This commit is contained in:
@@ -2071,7 +2071,7 @@ describe(MetadataService.name, () => {
|
||||
},
|
||||
);
|
||||
|
||||
it('should keep matching directory-local for identical basenames', async () => {
|
||||
it('should not match xmp files across directories', async () => {
|
||||
const first = forSidecarJob({ originalPath: '/photos/first/photo.jpg' });
|
||||
const second = forSidecarJob({ originalPath: '/photos/second/photo.jpg' });
|
||||
mocks.assetJob.getForSidecarCheckJob.mockResolvedValueOnce(first).mockResolvedValueOnce(second);
|
||||
|
||||
@@ -843,7 +843,7 @@ describe(LibraryService.name, () => {
|
||||
});
|
||||
|
||||
describe('sidecar discovery during library scans', () => {
|
||||
it('should keep associations directory-local across multiple scan batches and import paths', async () => {
|
||||
it('should only associate with sidecars in the same directory across multiple scan batches and import paths', async () => {
|
||||
const { ctx } = setup();
|
||||
const secondImportPath = join(importRoot, 'second');
|
||||
const library = await ctx.createLibrary({
|
||||
|
||||
Reference in New Issue
Block a user