Skip to content

Commit 31f45ee

Browse files
committed
test: fix code style issue
1 parent 2899b65 commit 31f45ee

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/converters/libreoffice.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,16 @@ test("strips leading './' from outdir", async () => {
108108
// --- promise settlement ------------------------------------------------------
109109
test("resolves with 'Done' when execFile succeeds", async () => {
110110
behavior = { kind: "success", stdout: "fine", stderr: "" };
111-
await expect(convert("in.txt", "txt", "docx", "out/out.docx", undefined, mockExecFile)).resolves.toBe(
112-
"Done",
113-
);
111+
await expect(
112+
convert("in.txt", "txt", "docx", "out/out.docx", undefined, mockExecFile),
113+
).resolves.toBe("Done");
114114
});
115115

116116
test("rejects when execFile returns an error", async () => {
117117
behavior = { kind: "error", message: "convert failed", stderr: "oops" };
118-
await expect(convert("in.txt", "txt", "docx", "out/out.docx", undefined, mockExecFile)).rejects.toMatch(
119-
/error: Error: convert failed/,
120-
);
118+
await expect(
119+
convert("in.txt", "txt", "docx", "out/out.docx", undefined, mockExecFile),
120+
).rejects.toMatch(/error: Error: convert failed/);
121121
});
122122

123123
// --- logging behavior --------------------------------------------------------

0 commit comments

Comments
 (0)