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

Switch @visx/annotation to use React Testing Library #968

Closed
wants to merge 7 commits into from

Conversation

lanmonster
Copy link

This PR is a start to addressing #918

I purposefully did not work on LinePathAnnotation because it is deprecated.

💥 Breaking Changes

  • none

🚀 Enhancements

  • none

📝 Documentation

  • none

🐛 Bug Fix

  • none

🏠 Internal

  • use React Testing Library instead of Enzyme

@lanmonster lanmonster changed the title 🏠 Switch @visx/annotation to use React Testing Library Switch @visx/annotation to use React Testing Library Dec 10, 2020
@coveralls
Copy link

coveralls commented Dec 10, 2020

Pull Request Test Coverage Report for Build 412236027

Warning: 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

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 61.485%

Totals Coverage Status
Change from base Build 411410817: 0.2%
Covered Lines: 1735
Relevant Lines: 2694

💛 - Coveralls

import React, { useContext } from "react";
import { Annotation } from "../src";
import AnnotationContext from "../src/context/AnnotationContext";
import { render, screen } from "@testing-library/react";
Copy link
Collaborator

@gazcn007 gazcn007 May 13, 2021

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

@hshoff
Copy link
Member

hshoff commented Mar 24, 2024

Looks like this was updated in #1268

@hshoff hshoff closed this Mar 24, 2024
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.

4 participants