Skip to content

Commit

Permalink
fix a bit of noise in test failures, also addressed by #2009, sneakin…
Browse files Browse the repository at this point in the history
…g it in here to quiet the CI on other PRs
  • Loading branch information
cspotcode committed Sep 15, 2023
1 parent f3a3aec commit 09e3213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/esm-loader.spec.ts
Expand Up @@ -95,7 +95,7 @@ test.suite('esm', (test) => {
});
expect(r.err).not.toBe(null);
// expect error from node's default resolver
expect(r.stderr).toMatch(/Error \[ERR_UNSUPPORTED_ESM_URL_SCHEME\]:.*(?:\n.*){0,2}\n *at defaultResolve/);
expect(r.stderr).toMatch(/Error \[ERR_UNSUPPORTED_ESM_URL_SCHEME\]:.*(?:\n.*){0,2}\n *at (defaultResolve|defaultLoad)/);
});

test('should bypass import cache when changing search params', async () => {
Expand Down

0 comments on commit 09e3213

Please sign in to comment.