Skip to content

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins (#201
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 59c967f commit 87b8bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-tap/requestContextPlugin.e2e.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { fastifyRequestContext } = require('..')
const { TestService } = require('../test/internal/testService')
const t = require('tap')
const { CustomResource, AsyncHookContainer } = require('../test/internal/watcherService')
const { executionAsyncId } = require('async_hooks')
const { executionAsyncId } = require('node:async_hooks')
const test = t.test

let app
Expand Down

0 comments on commit 87b8bc3

Please sign in to comment.