Skip to content

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?

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
@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.

3 participants