2 posts tagged with "tothrow"

    jest-tips

    2022-11-28

     | 

    ~1 min read

     | 

    53 words

    A collection of tips on how to use Jest. A good follow up to the collection of configuration tips. Debugging ‘Not Implemented’ Errors…

    jest: expect tothrow

    2022-11-28

     | 

    ~2 min read

     | 

    351 words

    When testing code that you expect to fail with Jest, you need to wrap the function. This is called out explicitly in the docs. Note: You…

Return to all tags