Skip to content

Commit 2c3b582

Browse files
committed
fix(scripts): avoid pnpm in parallels smoke wrappers
1 parent e0d58d9 commit 2c3b582

5 files changed

Lines changed: 2 additions & 14 deletions

File tree

scripts/e2e/parallels-linux-smoke.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ set -euo pipefail
33

44
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
55
cd "$ROOT_DIR"
6-
if command -v pnpm >/dev/null 2>&1; then
7-
exec pnpm exec tsx scripts/e2e/parallels/linux-smoke.ts "$@"
8-
fi
96
exec node --import tsx scripts/e2e/parallels/linux-smoke.ts "$@"

scripts/e2e/parallels-macos-smoke.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ set -euo pipefail
33

44
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
55
cd "$ROOT_DIR"
6-
if command -v pnpm >/dev/null 2>&1; then
7-
exec pnpm exec tsx scripts/e2e/parallels/macos-smoke.ts "$@"
8-
fi
96
exec node --import tsx scripts/e2e/parallels/macos-smoke.ts "$@"

scripts/e2e/parallels-npm-update-smoke.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ set -euo pipefail
33

44
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
55
cd "$ROOT_DIR"
6-
if command -v pnpm >/dev/null 2>&1; then
7-
exec pnpm exec tsx scripts/e2e/parallels/npm-update-smoke.ts "$@"
8-
fi
96
exec node --import tsx scripts/e2e/parallels/npm-update-smoke.ts "$@"

scripts/e2e/parallels-windows-smoke.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ set -euo pipefail
33

44
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
55
cd "$ROOT_DIR"
6-
if command -v pnpm >/dev/null 2>&1; then
7-
exec pnpm exec tsx scripts/e2e/parallels/windows-smoke.ts "$@"
8-
fi
96
exec node --import tsx scripts/e2e/parallels/windows-smoke.ts "$@"

test/scripts/parallels-smoke-model.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ describe("Parallels smoke model selection", () => {
274274
: TS_PATHS[platform as "linux" | "macos" | "windows"];
275275

276276
expect(wrapper, wrapperPath).toContain('cd "$ROOT_DIR"');
277-
expect(wrapper, wrapperPath).toContain(`exec pnpm exec tsx ${scriptPath}`);
278277
expect(wrapper, wrapperPath).toContain(`exec node --import tsx ${scriptPath}`);
279-
expect(countNonEmptyLines(wrapper)).toBeLessThanOrEqual(9);
278+
expect(wrapper, wrapperPath).not.toContain("pnpm exec tsx");
279+
expect(countNonEmptyLines(wrapper)).toBeLessThanOrEqual(6);
280280
}
281281
});
282282

0 commit comments

Comments
 (0)