Skip to content

Commit e6fb333

Browse files
committed
test(desktop): isolate the primary Windows native probe assertion
1 parent e8e06bc commit e6fb333

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎scripts/build-desktop-artifact.test.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1923,7 +1923,11 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
19231923
});
19241924

19251925
assert.isFalse(
1926-
commands.some((command) => command.options.env?.ELECTRON_RUN_AS_NODE === "1"),
1926+
commands.some(
1927+
(command) =>
1928+
command.command.endsWith(fixture.appExecutableName) &&
1929+
command.options.env?.ELECTRON_RUN_AS_NODE === "1",
1930+
),
19271931
);
19281932
assert.isTrue(
19291933
commands.some(

0 commit comments

Comments
 (0)