Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("windows nsis desktop shortcut customization", () => {

test("declares a real custom page instead of running page commands inline", () => {
expect(script).toContain("!ifndef BUILD_UNINSTALLER")
expect(script).toContain("!ifndef BUILD_UNINSTALLER\n Var AddDesktopShortcutCheckbox")
expect(script).toMatch(/!ifndef BUILD_UNINSTALLER\r?\n[^\S\r\n]*Var AddDesktopShortcutCheckbox/)
expect(script).toContain("PageEx custom")
expect(script).toContain('Caption "$(PawWorkShortcutOptions)"')
expect(script).toContain("PageCallbacks PawWorkDesktopShortcutPageCreate PawWorkDesktopShortcutPageLeave")
Expand Down
Loading