Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dev": "rollup --config --watch",
"lint": "eslint src/ test/",
"fix-lint": "eslint src/ test/ --fix",
"test": "mocha out/test/*.test.{js,cjs,mjs} --timeout 15000"
"test": "mocha out/test/*.test.{js,cjs,mjs} --parallel"
},
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions test/clientOptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class HttpRequestCountPolicy {
}

describe("custom client options", function () {
this.timeout(15000);

const fakeEndpoint = "https://azure.azconfig.io";
beforeEach(() => {
// Thus here mock it to reply 500, in which case the retry mechanism works.
Expand Down
2 changes: 2 additions & 0 deletions test/requestTracing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class HttpRequestHeadersPolicy {
}

describe("request tracing", function () {
this.timeout(15000);

const fakeEndpoint = "https://127.0.0.1"; // sufficient to test the request it sends out
const headerPolicy = new HttpRequestHeadersPolicy();
const position: "perCall" | "perRetry" = "perCall";
Expand Down