Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Sep 10, 2023
1 parent 0888aa3 commit 9c6c643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/writeEarlyHints.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { test } = require('tap')
const Fastify = require('fastify')
const eh = require('../index')
const { Client, buildConnector } = require('undici')
const { promisify } = require('util')
const { promisify } = require('node:util')
const sleep = promisify(setTimeout)

test('Should not add Early Hints', async (t) => {
Expand Down

0 comments on commit 9c6c643

Please sign in to comment.