test: Split test utilities to improve test times (#2622)

This commit is contained in:
Dermot Duffy
2026-07-26 16:29:53 -07:00
committed by GitHub
parent 8d44fcecf1
commit ad89aa9538
234 changed files with 2730 additions and 2516 deletions
+1 -1
View File
@@ -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/,
);
});