This commit is contained in:
Jonathan Jogenfors
2026-09-29 23:05:36 +02:00
parent aaa6654847
commit 8e8d53cc74
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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({