Skip to content

Commit

Permalink
Remove test output change for now
Browse files Browse the repository at this point in the history
Potential issue with buffer size. Update to use spawn later so we can
stream output.
  • Loading branch information
lindboe committed Sep 12, 2024
1 parent d10b81a commit 63ea164
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/vanilla/ignite-new-expo-router.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { filesystem } from "gluegun"
import * as tempy from "tempy"
import { run, runIgnite } from "../_test-helpers"
import { stripANSI } from "../../src/tools/strip-ansi"

const APP_NAME = "Foo"
const originalDir = process.cwd()
Expand All @@ -23,7 +22,9 @@ describe(`ignite new with expo-router`, () => {
},
)
} catch (e) {
console.log("Ignite new output: \n", stripANSI(e.stdout))
// Uncomment to debug tests. Leaving commented for now, because we were
// seeing issues with max buffer size exceeded.
// console.log("Ignite new output: \n", stripANSI(e.stdout))
throw new Error("Ignite new failed")
}
appPath = filesystem.path(tempDir, APP_NAME)
Expand Down
4 changes: 3 additions & 1 deletion test/vanilla/ignite-new.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ describe("ignite new", () => {
post: `cd ${originalDir}`,
})
} catch (e) {
console.log("Ignite new output: \n", stripANSI(e.stdout))
// Uncomment to debug tests. Leaving commented for now, because we were
// seeing issues with max buffer size exceeded.
// console.log("Ignite new output: \n", stripANSI(e.stdout))
throw new Error("Ignite new failed")
}

Expand Down

0 comments on commit 63ea164

Please sign in to comment.