Skip to content

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins (#112
Browse files Browse the repository at this point in the history
)

Signed-off-by: Frazer Smith <[email protected]>
  • Loading branch information
Fdawgs authored Dec 13, 2024
1 parent 70a14c7 commit c7cf4bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/no-warnings.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict'

const { test } = require('tap')
const { spawnSync } = require('child_process')
const { resolve } = require('path')
const { spawnSync } = require('node:child_process')
const { resolve } = require('node:path')

const entry = resolve(__dirname, '../examples', 'example.js')

Expand Down

0 comments on commit c7cf4bb

Please sign in to comment.