Skip to content

Commit

Permalink
chore/remove-uuid (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilteoood authored Dec 18, 2024
1 parent a432b35 commit f67c132
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"proxyquire": "^2.1.3",
"sinon": "^17.0.2",
"uuid": "^9.0.1"
"sinon": "^17.0.2"
},
"lint-staged": {
"*.js": [
Expand Down
6 changes: 3 additions & 3 deletions test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
require('dotenv').config()

const { test, describe } = require('node:test')
const { randomUUID } = require('node:crypto')

const uuid = require('uuid')
const Fastify = require('fastify')
const { DefaultAzureCredential } = require('@azure/identity')
const { SecretClient } = require('@azure/keyvault-secrets')

const FastifySecrets = require('../')

const SECRET_NAME = uuid.v4()
const SECRET_CONTENT = uuid.v4()
const SECRET_NAME = randomUUID()
const SECRET_CONTENT = randomUUID()
const vaultName = process.env.AZURE_VAULT_NAME

const credential = new DefaultAzureCredential()
Expand Down

0 comments on commit f67c132

Please sign in to comment.