Skip to content

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Sep 10, 2023
1 parent 0ff33eb commit 0046302
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const t = require('tap')
const makeTest = require('./make-test')
const { join } = require('path')
const { join } = require('node:path')

process.env.VALUE_FROM_ENV = 'pippo'

Expand Down
2 changes: 1 addition & 1 deletion test/custom-ajv.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const t = require('tap')
const Ajv = require('ajv')
const makeTest = require('./make-test')
const { join } = require('path')
const { join } = require('node:path')

process.env.VALUE_FROM_ENV = 'pippo'

Expand Down
2 changes: 1 addition & 1 deletion test/expand.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const t = require('tap')
const makeTest = require('./make-test')
const { join } = require('path')
const { join } = require('node:path')

process.env.K8S_NAMESPACE = 'pippo'
process.env.K8S_CLUSTERID = 'pluto'
Expand Down

0 comments on commit 0046302

Please sign in to comment.