feat: Add folder title matching and parsing (#2067)
This is a breaking change for users of the [experimental 'folder' functionality](https://card.camera/#/configuration/folders). Related: #1748
This commit is contained in:
@@ -60,7 +60,7 @@ describe('transformURLToMediaSourceRoot', () => {
|
||||
it.each(prefixes)('with prefix %s', (urlPrefix: string) => {
|
||||
const url = `${urlPrefix}media-browser/browser,does-not-start-with-media-source`;
|
||||
expect(() => transformPathURLToPathArray(url)).toThrowError(
|
||||
/Could not parse valid media source URL/,
|
||||
/Could not parse media source URL/,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user