-
Notifications
You must be signed in to change notification settings - Fork 721
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
Switch @visx/annotation to use React Testing Library #968
Conversation
Pull Request Test Coverage Report for Build 412236027Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
import React, { useContext } from "react"; | ||
import { Annotation } from "../src"; | ||
import AnnotationContext from "../src/context/AnnotationContext"; | ||
import { render, screen } from "@testing-library/react"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can run yarn run format
to format the quotes
Looks like this was updated in #1268 |
This PR is a start to addressing #918
I purposefully did not work on
LinePathAnnotation
because it is deprecated.💥 Breaking Changes
🚀 Enhancements
📝 Documentation
🐛 Bug Fix
🏠 Internal