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

Convert ExpandedStoryNotes to be a functional component #883

Merged
merged 7 commits into from
Nov 6, 2023

Conversation

gabrielcicero45
Copy link
Contributor

@gabrielcicero45 gabrielcicero45 commented Oct 25, 2023

What this PR do ?

Convert ExpandedStoryNotes to be a functional component

Related Issues

Resolves #863

@gabrielcicero45 gabrielcicero45 marked this pull request as ready for review October 25, 2023 12:28
@gabrielcicero45 gabrielcicero45 marked this pull request as draft October 25, 2023 14:27
@gabrielcicero45 gabrielcicero45 marked this pull request as ready for review October 26, 2023 20:14
@@ -62,7 +62,7 @@ describe('<ExpandedStoryNotes />', () => {

const onCreateSpy = sinon.spy();

const wrapper = shallow(
const wrapper = mount(
Copy link
Member

Choose a reason for hiding this comment

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

What was the reason for this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tests were breaking with shallow rendering, so I used mount to access the entire component.

@talyssonoc talyssonoc merged commit 3b2dd2d into master Nov 6, 2023
4 checks passed
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.

Convert ExpandedStoryNotes to be a functional component
2 participants