Skip to content

Commit

Permalink
test: use node: prefix to bypass require.cache call for builtins (#236
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Fdawgs authored Sep 19, 2023
1 parent 81412d9 commit e9b23fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ npm install get-jwks
### Options

```js
const https = require('https')
const https = require('node:https')
const buildGetJwks = require('get-jwks')

const getJwks = buildGetJwks({
Expand Down
4 changes: 2 additions & 2 deletions test/constants.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const { readFileSync } = require('fs')
const path = require('path')
const { readFileSync } = require('node:fs')
const path = require('node:path')
const jwt = require('jsonwebtoken')

const domain = 'https://localhost/'
Expand Down

0 comments on commit e9b23fb

Please sign in to comment.