Skip to content

Commit 2dafde8

Browse files
committed
Remove test output change for now
Potential issue with buffer size. Update to use spawn later so we can stream output.
1 parent d10b81a commit 2dafde8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/vanilla/ignite-new-expo-router.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { filesystem } from "gluegun"
22
import * as tempy from "tempy"
33
import { run, runIgnite } from "../_test-helpers"
4-
import { stripANSI } from "../../src/tools/strip-ansi"
54

65
const APP_NAME = "Foo"
76
const originalDir = process.cwd()
@@ -23,7 +22,9 @@ describe(`ignite new with expo-router`, () => {
2322
},
2423
)
2524
} catch (e) {
26-
console.log("Ignite new output: \n", stripANSI(e.stdout))
25+
// Uncomment to debug tests. Leaving commented for now, because we were
26+
// seeing issues with max buffer size exceeded.
27+
// console.log("Ignite new output: \n", stripANSI(e.stdout))
2728
throw new Error("Ignite new failed")
2829
}
2930
appPath = filesystem.path(tempDir, APP_NAME)

test/vanilla/ignite-new.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { filesystem } from "gluegun"
22
import * as tempy from "tempy"
33
import { runIgnite, runError, run } from "../_test-helpers"
4-
import { stripANSI } from "../../src/tools/strip-ansi"
54

65
const APP_NAME = "Foo"
76
const originalDir = process.cwd()
@@ -38,7 +37,9 @@ describe("ignite new", () => {
3837
post: `cd ${originalDir}`,
3938
})
4039
} catch (e) {
41-
console.log("Ignite new output: \n", stripANSI(e.stdout))
40+
// Uncomment to debug tests. Leaving commented for now, because we were
41+
// seeing issues with max buffer size exceeded.
42+
// console.log("Ignite new output: \n", stripANSI(e.stdout))
4243
throw new Error("Ignite new failed")
4344
}
4445

0 commit comments

Comments
 (0)