Skip to content

Commit 7124b90

Browse files
Backport SignalR test changes (#46648)
* Update HubConnectionTests.ts * Update func.jest.config.js
1 parent b134c68 commit 7124b90

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/SignalR/clients/ts/FunctionalTests/func.jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
},
1919
reporters: [
2020
"default",
21-
["../common/node_modules/jest-junit/index.js", { "output": "../../../../../artifacts/log/" + `${process.platform}` + ".node.functional.junit.xml" }]
21+
["../common/node_modules/jest-junit/index.js", { "outputDirectory": "../../../../../artifacts/log/", "outputName": `${process.platform}` + ".node.functional.junit.xml" }]
2222
],
2323
transform: {
2424
"^.+\\.(jsx?|tsx?)$": "../common/node_modules/ts-jest"

src/SignalR/clients/ts/FunctionalTests/ts/HubConnectionTests.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,8 @@ describe("hubConnection", () => {
359359
await closePromise;
360360
});
361361

362-
it("closed with error or start fails if hub cannot be created", async () => {
362+
// Skipped: https://github.com/dotnet/aspnetcore/issues/44608
363+
xit("closed with error or start fails if hub cannot be created", async () => {
363364
const hubConnection = getConnectionBuilder(transportType, ENDPOINT_BASE_URL + "/uncreatable", { httpClient })
364365
.withHubProtocol(protocol)
365366
.build();

0 commit comments

Comments
 (0)