Skip to content

Commit 4f2ff80

Browse files
committedFeb 27, 2025··
Run preflight inside shell
1 parent 8e19ce9 commit 4f2ff80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎__tests__/e2e.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function sortStdoutAndStripVersionNumber(stdout: string) {
7171
test('Passes in the react-passing test project', async () => {
7272
const { stdout, stderr } = await execa({
7373
cwd: `${fixturesTempDir}/react-passing`,
74+
shell: true,
7475
})`preflight`;
7576

7677
expect(sortStdoutAndStripVersionNumber(stdout)).toMatchSnapshot();
@@ -80,6 +81,7 @@ test('Passes in the react-passing test project', async () => {
8081
test('Passes in the next-js-passing test project', async () => {
8182
const { stdout, stderr } = await execa({
8283
cwd: `${fixturesTempDir}/next-js-passing`,
84+
shell: true,
8385
})`preflight`;
8486

8587
expect(sortStdoutAndStripVersionNumber(stdout)).toMatchSnapshot();

0 commit comments

Comments
 (0)
Please sign in to comment.