-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gatsby cli develop tests #22697
Gatsby cli develop tests #22697
Conversation
|
||
beforeAll(() => removeFolder(`${cwd}/.cache`)) | ||
beforeAll(() => removeFolder(`${cwd}/public`)) | ||
afterAll(() => removeFolder(`${cwd}/.cache`)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this both before and after?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do it before just to make sure there wasn't some left over artifacts before. Like if some dev ran gatsby build or something in taht folder before the test. Then also clean up after.
Just trying to make the tests as idempotent as possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this makes sense! hooray for more tests!
…y-starter-builder * 'master' of github.com:gatsbyjs/gatsby: (24 commits) Added Fluiditype (gatsbyjs#22686) Add blog post with Gatsby LA video 2 - Dustin Schau (gatsbyjs#22736) Fix DatoCMS benchmarks (gatsbyjs#22761) chore(starters): add gatsby-starter-reason-blog (gatsbyjs#22690) remove local domain (gatsbyjs#22729) remove local domain (gatsbyjs#22732) fix(gatsby-source-contentful): use request url for base64 image cache key (gatsbyjs#22745) Add blog post for community Q&A (gatsbyjs#22737) chore(gatsby-cli): use `gatsby clean` in tests to test `gatsby clean` (gatsbyjs#22739) Fix typo (gatsbyjs#22727) fix(gatsby): Support grouping by reserved keywords (gatsbyjs#22603) remove local domain (gatsbyjs#22723) docs: clarification about `.cache` and `public` persistance when using GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES (gatsbyjs#22720) chore(release): Publish fix(gatsby-plugin-google-gtag): OutboundLink Forward Ref (gatsbyjs#22705) [docs]Docs/Blog Frontmatter Documentation (gatsbyjs#22604) chore(gatsby): create single filter cache key generator (gatsbyjs#22716) chore(gatsby-cli): Add integration tests for `gatsby develop` (gatsbyjs#22699) create index.md (gatsbyjs#22671) Gatsby cli develop tests (gatsbyjs#22697) ...
Description
Adds Integration tests for
gatsby develop