Skip to content

fix(site): Close WS and SE connections when they are not used #7187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 20, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Fix lint
  • Loading branch information
BrunoQuaresma committed Apr 20, 2023
commit 180ad46d7466c580ecc83dc7928bd95a87676db4
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ test("Use custom name and set it as active when publishing", async () => {
.mockImplementation((_, options) => {
options.onMessage(MockWorkspaceBuildLogs[0])
options.onDone()
return jest.fn() as any
return jest.fn() as never
})
const buildButton = within(topbar).getByRole("button", {
name: "Build template",
Expand Down Expand Up @@ -105,7 +105,7 @@ test("Do not mark as active if promote is not checked", async () => {
.mockImplementation((_, options) => {
options.onMessage(MockWorkspaceBuildLogs[0])
options.onDone()
return jest.fn() as any
return jest.fn() as never
})
const buildButton = within(topbar).getByRole("button", {
name: "Build template",
Expand Down Expand Up @@ -164,7 +164,7 @@ test("Patch request is not send when the name is not updated", async () => {
.mockImplementation((_, options) => {
options.onMessage(MockWorkspaceBuildLogs[0])
options.onDone()
return jest.fn() as any
return jest.fn() as never
})
const buildButton = within(topbar).getByRole("button", {
name: "Build template",
Expand Down