Not Providing Milkshakes
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    jasmine-should-include-fragmentpublic

    shouldIncludeFragment

    Jasmine matcher designed to allow you to test whether a particular JSON object matches a fragment, only comparing the keys that the fragment has. Example

    expect({foo: "bar", unrelated_field: 42}).toIncludeFragment({foo: "bar"}) //passes
    

    Keywords

    none

    install

    npm i jasmine-should-include-fragment

    Downloadsweekly downloads

    1

    version

    0.0.0

    license

    none

    last publish

    collaborators

    • avatar