Skip to content

Commit 1f942aa

Browse files
committed
test: use latest v5, log output on failure
1 parent 7f6b7d7 commit 1f942aa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

plugin/test/fixtures/v5/with-adapters/e2e-tests/build.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ describe('A site using gatsby version with adapters', () => {
1313
// in CI warnings are outputted to stderr (yikes)
1414
const fullOutput = stdout + stderr
1515

16+
if (!success) {
17+
console.error(fullOutput)
18+
}
19+
1620
expect(success).toBeTruthy()
1721

1822
expect(fullOutput).toContain(

plugin/test/fixtures/v5/with-adapters/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"test:jest": "jest functions.test.js"
2121
},
2222
"dependencies": {
23-
"gatsby": "5.12.5",
23+
"gatsby": "5.14.1",
2424
"gatsby-plugin-netlify": "5.1.0",
2525
"react": "^18.2.0",
2626
"react-dom": "^18.2.0"

0 commit comments

Comments
 (0)