Skip to content

Commit

Permalink
[gatsby-source-contentful] update data and jest snapshots (#5802)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored Jun 8, 2018
1 parent a5d0dd4 commit 9091de8
Show file tree
Hide file tree
Showing 3 changed files with 1,092 additions and 120 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-source-contentful/scripts/download-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fetchData = require(`../src/fetch`)
const spaceId = `rocybtov1ozk`
const accessToken = `6f35edf0db39085e9b9c19bd92943e4519c77e72c852d961968665f1324bfc94`

fetchData({ spaceId, accessToken }).then(data => {
fetchData({ spaceId, accessToken, environment: `master` }).then(data => {
fs.writeFileSync(
`${__dirname}/../src/__tests__/data.json`,
stringify(data, null, 4)
Expand Down
Loading

0 comments on commit 9091de8

Please sign in to comment.