Skip to content

Commit

Permalink
small improvements (#17979)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant authored Sep 30, 2021
1 parent 7084ffb commit f5f8524
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions sdk/identity/identity/test/manual/nodeTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const dotenv = require("dotenv");
// Ensure you have a .env file in the same directory with something similar to:
//
// AZURE_CLIENT_ID="value"
// AZURE_TENANT_ID="value"
// AZURE_CLIENT_SECRET="value"
// SERVICE_BUS_ENDPOINT="value"
// QUEUE_NAME="value"
Expand Down
4 changes: 4 additions & 0 deletions sdk/identity/identity/test/manual/nodeTestSilent.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
const identity = require("@azure/identity");
const serviceBus = require("@azure/service-bus");
const dotenv = require("dotenv");
const { cachePersistencePlugin } = require("@azure/identity-cache-persistence");

identity.useIdentityPlugin(cachePersistencePlugin);

// Ensure you have a .env file in the same directory with something similar to:
//
// AZURE_CLIENT_ID="value"
// AZURE_TENANT_ID="value"
// AZURE_CLIENT_SECRET="value"
// SERVICE_BUS_ENDPOINT="value"
// QUEUE_NAME="value"
Expand Down
5 changes: 3 additions & 2 deletions sdk/identity/identity/test/manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
"@azure/service-bus": "^7.0.3",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"tslib": "^1.9.3"
"tslib": "1.9.3"
},
"devDependencies": {
"@azure/identity-cache-persistence": "^1.0.0-beta.2",
"@types/express": "^4.16.0",
"@types/node": "^12.0.0",
"@types/node": "12.0.0",
"@types/react": "^16.8.24",
"@types/react-dom": "^16.8.5",
"@types/webpack": "^4.4.13",
Expand Down

0 comments on commit f5f8524

Please sign in to comment.