Skip to content

Commit

Permalink
fix test on node18
Browse files Browse the repository at this point in the history
  • Loading branch information
koshic committed Oct 14, 2023
1 parent 0f162ca commit bc3bf30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/local/pnp/enable.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ async function resolve (specifier, context, next) {
: specifier, context)
}

module.register && module.register(`
module.register && (process.versions.pnp = '3') && module.register(`
data:text/javascript,
export ${encodeURIComponent(resolve)}`.slice(1))

process.versions.pnp = '3'

0 comments on commit bc3bf30

Please sign in to comment.