test: Split test utilities to improve test times (#2622)
This commit is contained in:
1 parent
8d44fcecf1
commit
ad89aa9538
234 files changed
+2730
-2516
No files matched your search
@@ -65,7 +65,7 @@ describe('transformPathURLToPathArray', () => {
|
||||
describe('should throw error for non-media source path component', () => {
|
||||
it.each(prefixes)('with prefix %s', (urlPrefix: string) => {
|
||||
const url = `${urlPrefix}media-browser/browser,does-not-start-with-media-source`;
|
||||
expect(() => transformPathURLToPathArray(url)).toThrowError(
|
||||
expect(() => transformPathURLToPathArray(url)).toThrow(
|
||||
/Could not parse media source URL/,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user