Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

style: format macOS new-window test

Tw939ec19e0baceb
diff --git a/tests/unit/new-window-macos.test.js b/tests/unit/new-window-macos.test.js
index 00dea17b..4016953e 100644
--- a/tests/unit/new-window-macos.test.js
+++ b/tests/unit/new-window-macos.test.js
@@ -10,7 +10,10 @@ describe("macOS new-window handling", () => {
);
const blockStart = source.indexOf("if window_config.new_window");
- const blockEnd = source.indexOf("// Add initialization scripts", blockStart);
+ const blockEnd = source.indexOf(
+ "// Add initialization scripts",
+ blockStart,
+ );
const newWindowBlock = source.slice(blockStart, blockEnd);
expect(newWindowBlock).toMatch(