New validation requires path to updateexe

This commit is contained in:
Caelan Sayler
2025-03-03 22:22:46 +00:00
committed by Caelan
parent 9363edfc62
commit 878a28df3c

View File

@@ -1,5 +1,5 @@
import {VelopackApp, VelopackLocatorConfig} from "../src";
import {isWindows} from "./helper";
import {isWindows, updateExe} from "./helper";
class HookTester {
public afterInstall = false;
@@ -47,7 +47,7 @@ test("VelopackApp should handle restarted event", async () => {
ManifestPath: "../../test/fixtures/Test.Squirrel-App.nuspec",
PackagesDir: "",
RootAppDir: "",
UpdateExePath: "",
UpdateExePath: updateExe(),
CurrentBinaryDir: "",
IsPortable: true,
};