Skip to content
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

Add more information about updating snapshots #211

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

benjaminjkraft
Copy link
Collaborator

The generated files for integration tests aren't strictly snapshots and so
UPDATE_SNAPSHOTS=1 won't work (maybe we should make it work?).
Instead you also need to go generate ./.... This came up in #209.

I have:

  • Written a clear PR title and description (above)
  • Signed the Khan Academy CLA
  • Added tests covering my changes, if applicable
  • Included a link to the issue fixed, if applicable
  • Included documentation, for new features
  • Added an entry to the changelog

The generated files for integration tests aren't strictly snapshots and so
`UPDATE_SNAPSHOTS=1` won't work (maybe we should make it work?).
Instead you also need to `go generate ./...`. This came up in #209.
Copy link
Contributor

@dnerdy dnerdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@dnerdy dnerdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@benjaminjkraft
Copy link
Collaborator Author

See also: #212.

@benjaminjkraft benjaminjkraft merged commit 046f531 into main Jul 28, 2022
@benjaminjkraft benjaminjkraft deleted the benkraft.snapshot-docs branch July 28, 2022 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants