mirror of
https://github.com/immich-app/immich.git
synced 2026-03-07 10:37:22 +03:00
feat(server): default exclusion patterns (#12566)
* Add default exclusion patterns * simplify * fix tests
This commit is contained in:
committed by
GitHub
parent
9b528519e4
commit
233372303b
@@ -892,7 +892,7 @@ describe(LibraryService.name, () => {
|
||||
expect.objectContaining({
|
||||
name: expect.any(String),
|
||||
importPaths: [],
|
||||
exclusionPatterns: [],
|
||||
exclusionPatterns: expect.any(Array),
|
||||
}),
|
||||
);
|
||||
});
|
||||
@@ -917,7 +917,7 @@ describe(LibraryService.name, () => {
|
||||
expect.objectContaining({
|
||||
name: 'My Awesome Library',
|
||||
importPaths: [],
|
||||
exclusionPatterns: [],
|
||||
exclusionPatterns: expect.any(Array),
|
||||
}),
|
||||
);
|
||||
});
|
||||
@@ -947,7 +947,7 @@ describe(LibraryService.name, () => {
|
||||
expect.objectContaining({
|
||||
name: expect.any(String),
|
||||
importPaths: ['/data/images', '/data/videos'],
|
||||
exclusionPatterns: [],
|
||||
exclusionPatterns: expect.any(Array),
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user