Skip to content

Commit

Permalink
Backport SignalR test changes (#46648)
Browse files Browse the repository at this point in the history
* Update HubConnectionTests.ts

* Update func.jest.config.js
  • Loading branch information
BrennanConroy authored Mar 10, 2023
1 parent b134c68 commit 7124b90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SignalR/clients/ts/FunctionalTests/func.jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
},
reporters: [
"default",
["../common/node_modules/jest-junit/index.js", { "output": "../../../../../artifacts/log/" + `${process.platform}` + ".node.functional.junit.xml" }]
["../common/node_modules/jest-junit/index.js", { "outputDirectory": "../../../../../artifacts/log/", "outputName": `${process.platform}` + ".node.functional.junit.xml" }]
],
transform: {
"^.+\\.(jsx?|tsx?)$": "../common/node_modules/ts-jest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ describe("hubConnection", () => {
await closePromise;
});

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

0 comments on commit 7124b90

Please sign in to comment.