Skip to content

Commit

Permalink
[test] fix service bus unit test issue (Azure#32215)
Browse files Browse the repository at this point in the history
The merged config pulls in unwanted integration tests.
  • Loading branch information
jeremymeng authored Dec 13, 2024
1 parent 839de0a commit 6149b66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/servicebus/perf-tests/service-bus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"test:browser": "echo skipped",
"test:node": "echo skipped",
"unit-test": "echo skipped",
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
"unit-test:node": "dev-tool run test:vitest",
"unit-test:browser": "echo skipped",
"unit-test:node": "echo skipped",
"update-snippets": "echo skipped"
},
"type": "module",
Expand Down
1 change: 1 addition & 0 deletions sdk/servicebus/service-bus/vitest.unit.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default mergeConfig(
hookTimeout: 60000,
fileParallelism: false,
include: ["test/internal/unit/**/*.spec.ts"],
exclude: ["test/internal/{,!(unit)/**/}*.spec.ts", "test/public/**/*.spec.ts"],
fakeTimers: {
toFake: [
"setTimeout",
Expand Down

0 comments on commit 6149b66

Please sign in to comment.