Skip to content

Commit 0f8d3c8

Browse files
committed
Fix unit test failure on Windows
1 parent c184e47 commit 0f8d3c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parse/ClassLoader.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,7 @@ export = NS`,
25632563

25642564
it('for a single import from an unknown package', () => {
25652565
expect(() => loader.getClassElements('package', fileName, resolutionContext.parseTypescriptContents(`import {A as B} from 'unknown-package'`)).importedElements)
2566-
.toThrow(`Could not resolve 'unknown-package' from path 'dir/file'`);
2566+
.toThrow(/Could not resolve 'unknown-package' from path .*/u);
25672567
});
25682568

25692569
it('for export all', () => {

0 commit comments

Comments
 (0)