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 Dec 13, 2024
1 parent 953e7a4 commit c6d93a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/exponential-backoff.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const { test } = require('node:test')
const assert = require('assert')
const assert = require('node:assert')
const Fastify = require('fastify')
const rateLimit = require('../index')

Expand Down
2 changes: 1 addition & 1 deletion test/group-rate-limit.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const { test } = require('node:test')
const assert = require('assert')
const assert = require('node:assert')
const Fastify = require('fastify')
const rateLimit = require('../index')

Expand Down

0 comments on commit c6d93a0

Please sign in to comment.