Coder Social home page Coder Social logo

Comments (5)

allestaire avatar allestaire commented on August 17, 2024 1

Sorry for the rant,
The issue is, there are 2 react installed whic is from source and test forlder,
in order to solve the issue I must use the source react instead of from test react

One way to solve is:
npm link ../src/node_modules/react

from dom-testing-library.

github-actions avatar github-actions commented on August 17, 2024

Uh oh! @allestaire, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

from dom-testing-library.

github-actions avatar github-actions commented on August 17, 2024

Uh oh! @allestaire, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

from dom-testing-library.

allestaire avatar allestaire commented on August 17, 2024

Out of all the examples, useRef is not included, tsk tsk
Testing Library

from dom-testing-library.

allestaire avatar allestaire commented on August 17, 2024

Why it is working on this example but not on my local machine
https://codesandbox.io/p/sandbox/how-to-test-useref-with-testing-libraryreact-tf8kq?file=%2Fsrc%2F__tests__%2FMeasureMe.test.js%3A7%2C33-7%2C48

from dom-testing-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.