We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9e68ce commit 40c299fCopy full SHA for 40c299f
packages/vitest/src/node/pools/rpc.ts
@@ -34,7 +34,7 @@ export function createMethodsRPC(project: WorkspaceProject): RuntimeRPC {
34
if ('id' in result && typeof result.id === 'string')
35
return { id: result.id as string }
36
37
- if (!code)
+ if (code == null)
38
throw new Error(`Failed to fetch module ${id}`)
39
40
const dir = join(project.tmpDir, transformMode)
0 commit comments