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

Adds snapshots for Claim Status for each currently known scenario #304

Merged
merged 5 commits into from
Jul 12, 2021

Conversation

rocketnova
Copy link
Contributor

Ticket

Closes #282

Changes

  • Adds snapshot tests for the 5 current scenarios for the <ClaimStatus> component

Context

Claim Status can be tested via Jest snapshots, so this PR adds a snapshot for each currently known scenario.

We'll need to update and expand these snapshots as the scenarios are further defined in #252 and #291.

Testing

yarn test

@kalvinwang kalvinwang self-requested a review July 12, 2021 19:55
Copy link
Contributor

@kalvinwang kalvinwang left a comment

Choose a reason for hiding this comment

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

lgtm! minor comments

tests/components/ClaimStatus.test.tsx Outdated Show resolved Hide resolved
tests/components/ClaimStatus.test.tsx Outdated Show resolved Hide resolved
@rocketnova rocketnova merged commit a2425b8 into main Jul 12, 2021
@rocketnova rocketnova deleted the rocket/282-snapshots branch July 12, 2021 21:12
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.

Create a snapshot per scenario
2 participants