question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

yarn test fails locally due to private @visx/xychart package

See original GitHub issue

I would like to setup the development environment to contribute to this project. I followed steps in CONTRIBUTING.md which are:

  • fork the repo
  • run yarn to install packages
  • run yarn build to build the packages
  • then I try to run tests with yarn test and with no changes to the original code I am getting 13 failed tests (I assume this is not expected)

My env:

node: v14.15.0
npm: 6.14.8
yarn: 1.22.4

What could be a reason for failing tests ? Did I miss any step or configuration?

Side note: I tried to upgrade to React v17 to help with #872 and I got 88 failed tests 🤔

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kristwcommented, Jun 25, 2021

Is this still an issue? Proposing to close in 3 days if no response.

1reaction
m0t0rcommented, Nov 4, 2020

@williaster I have exactly same failing visx-xychart tests as @hshoff. Proposed fix resolves all issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

visx/xychart documentation
The following illustrates basic usage to create an animated line chart with a bottom Axis , Grid , and Tooltip : import {...
Read more >
all tests passed but returned "error Command failed with ...
Answer: the error code was due to line coverage being below the value that I defined (90%). It already told me line coverage...
Read more >
Changelog - GitHub
... Upgrade to react v17 and react-testing-library [#1268](https://github.com/airbnb/visx/pull/1268) - breaking(visx/visx): export by package namespace ...
Read more >
7zip-bin-osx 5.1.1 : MIT License @auth0/auth0-react 1.2.0
@npmcli/installed-package-contents 1.0.7 : ISC License ... @visx/xychart 1.18.1 : MIT License ... import-local 2.0.0 : MIT License.
Read more >
Untitled
Neymar new boots hypervenom, Hebberd place, Salman haider photo, Cria pastor aleman, Fuji gx680 price, Colgar los tenis sinonimos, Htc m8 test water, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found