Skip to content

Commit

Permalink
test: use latest v5, log output on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Jan 17, 2025
1 parent 7f6b7d7 commit 1f942aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions plugin/test/fixtures/v5/with-adapters/e2e-tests/build.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ describe('A site using gatsby version with adapters', () => {
// in CI warnings are outputted to stderr (yikes)
const fullOutput = stdout + stderr

if (!success) {
console.error(fullOutput)
}

expect(success).toBeTruthy()

expect(fullOutput).toContain(
Expand Down
2 changes: 1 addition & 1 deletion plugin/test/fixtures/v5/with-adapters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test:jest": "jest functions.test.js"
},
"dependencies": {
"gatsby": "5.12.5",
"gatsby": "5.14.1",
"gatsby-plugin-netlify": "5.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down

0 comments on commit 1f942aa

Please sign in to comment.