feat(server): default exclusion patterns (#12566)

* Add default exclusion patterns

* simplify

* fix tests
This commit is contained in:
Jonathan Jogenfors
2024-09-11 16:40:52 +02:00
committed by GitHub
parent 9b528519e4
commit 233372303b
3 changed files with 6 additions and 6 deletions

View File

@@ -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),
}),
);
});