Skip to content

Commit

Permalink
[identity] Use tsx for tests (Azure#28808)
Browse files Browse the repository at this point in the history
### Packages impacted by this PR

@azure/identity

### Describe the problem that is addressed by this PR

Follows Azure#28801 to use tsx for running identity tests, which avoids
requiring the mocha workarounds

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?

Using esm4mocha, but I think this is a good path forward to try
  • Loading branch information
maorleger authored Mar 8, 2024
1 parent ca72dcf commit 34da487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/identity/identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 180000 'test/public/node/*.spec.ts' 'test/internal/node/*.spec.ts'",
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 180000 'dist-esm/test/public/node/*.spec.js' 'dist-esm/test/internal/node/*.spec.js'",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
"lint": "eslint package.json api-extractor.json src test --ext .ts",
Expand Down

0 comments on commit 34da487

Please sign in to comment.