Skip to content

Commit

Permalink
Fix node:test not part of builtinModules
Browse files Browse the repository at this point in the history
  • Loading branch information
Septh committed Jun 2, 2023
1 parent 770b3ec commit 85475de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ const builtins = {
)
}

// node:test is currently not part of builtinModules... and may well never be
// (see https://github.com/nodejs/node/issues/42785)
builtins.all.add('node:test')
builtins.alwaysPrefixed.add('node:test')

const workspaceRootFiles = new Set([
'pnpm-workspace.yaml', // pnpm
'lerna.json', // Lerna
Expand Down

0 comments on commit 85475de

Please sign in to comment.