Skip to content

Commit 34da487

Browse files
authored
[identity] Use tsx for tests (Azure#28808)
### 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
1 parent ca72dcf commit 34da487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/identity/identity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
5656
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
5757
"integration-test:browser": "echo skipped",
58-
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 180000 'test/public/node/*.spec.ts' 'test/internal/node/*.spec.ts'",
58+
"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'",
5959
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
6060
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
6161
"lint": "eslint package.json api-extractor.json src test --ext .ts",

0 commit comments

Comments
 (0)