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

feat: support react 18 #520

Merged
merged 10 commits into from
Apr 5, 2024
Merged

feat: support react 18 #520

merged 10 commits into from
Apr 5, 2024

Conversation

kellyjosephprice
Copy link
Contributor

@kellyjosephprice kellyjosephprice commented Apr 5, 2024

🚥 Resolves ISSUE_ID

🧰 Changes

Some repo maintenance!

I came to check for React 18 support, and ended up swapping out enzyme for @testing-library. Some of the tests are not exactly the same, but I think it's ok.

🧬 QA & Testing

Verify that the adapted tests seem reasonable?

.github/workflows/ci.yml Outdated Show resolved Hide resolved
});

it('should add an overlay to non-highlighted in lines when ranges are applied', () => {
expect(node.find('.cm-linerow.cm-overlay')).toHaveLength(6);
const { container } = defaultRender();
expect(container.querySelectorAll('.cm-linerow.cm-overlay')).toHaveLength(3);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea how this was working before?

@kellyjosephprice kellyjosephprice marked this pull request as ready for review April 5, 2024 21:15
@kellyjosephprice kellyjosephprice requested a review from erunion April 5, 2024 21:15
@erunion erunion merged commit f62a026 into main Apr 5, 2024
9 checks passed
@erunion erunion deleted the feat/support-react-18 branch April 5, 2024 21:18
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