Skip to content

Commit 1e57e2f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fe0c4ca commit 1e57e2f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

frontend/src/plugins/impl/__tests__/FormPlugin.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ describe("FormWrapper — Ctrl+Enter / Cmd+Enter", () => {
7171
.getByTestId("marimo-plugin-form-submit-button")
7272
.closest("form")!;
7373
// requestSubmit is not implemented in jsdom — spy on it and trigger submit
74-
const requestSubmit = vi.spyOn(form, "requestSubmit").mockImplementation(
75-
() => {
74+
const requestSubmit = vi
75+
.spyOn(form, "requestSubmit")
76+
.mockImplementation(() => {
7677
fireEvent.submit(form);
77-
},
78-
);
78+
});
7979

8080
fireEvent.keyDown(form.firstElementChild!, {
8181
key: "Enter",

0 commit comments

Comments
 (0)