Git Product home page Git Product logo

Comments (5)

blainekasten avatar blainekasten commented on May 21, 2024

That does sound like a good addition. I'm currently on paternity leave for
another month. If you want to put up a PR though I can try and get it
merged sooner than that!
On Fri, Sep 9, 2016 at 12:02 PM Willy Douglas [email protected]
wrote:

For enzyme .equals
http://airbnb.io/enzyme/docs/api/ShallowWrapper/equals.html, it would
be great to be able to write:

const wrapper = shallow();expect(wrapper).toEqualNode();

instead of

const wrapper = shallow();expect(highlightedText.equals()).toBe(true);

which gives no useful information on failure.

Or the equivalent with .matchesElement
http://airbnb.io/enzyme/docs/api/ShallowWrapper/matchesElement.html


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/blainekasten/jasmine-enzyme/issues/37, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACx-t7z8KNuVRRaT86-S_XG-qw8Ln6SYks5qoZEegaJpZM4J5QOu
.

from enzyme-matchers.

cwmoo740 avatar cwmoo740 commented on May 21, 2024

https://github.com/blainekasten/jasmine-enzyme/pull/43

from enzyme-matchers.

blainekasten avatar blainekasten commented on May 21, 2024

Going to need a new PR. That one was closed and the project was reworked a lot.

from enzyme-matchers.

blainekasten avatar blainekasten commented on May 21, 2024

@cwmoo740 @wdoug would either of you want to implement this?

from enzyme-matchers.

blainekasten avatar blainekasten commented on May 21, 2024

closed by #95

from enzyme-matchers.

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.