Skip to content

Commit

Permalink
fix: don't throw in Node 18.6 (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jul 31, 2022
1 parent a35b500 commit bdce24e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vitest/src/runtime/loader.ts
Expand Up @@ -20,6 +20,7 @@ export const resolve: Resolver = async (url, context, next) => {
if (resolved) {
return {
url: pathToFileURL(resolved.id).toString(),
shortCircuit: true,
}
}
}
Expand Down

0 comments on commit bdce24e

Please sign in to comment.