wrapito
wrapito copied to clipboard
π― Yummy React tests
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @βmohd-akram in jonschlinkert/word-wrap#24 πfix: CVE 2023 26115 (2) by @βOlafConijn in...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3. Release notes Sourced from tough-cookie's releases. 4.1.3 Security fix for Prototype Pollution discovery in #282. This is a minor release, although output from the...
## :tophat: What? Test ko response in fetch ## :thinking: Why? It's only to add this one test to coverage this case ## :test_tube: How has this been tested? /...
## :tophat: What? Added XHR requests support ## :thinking: Why? So Wrapito can be used to mock axios requests ## :test_tube: How has this been tested? / :boom: How will...
## β¨ Feature proposal Support `objectContaining` in `toHaveBeenFetchedWith` ## π― Motivation Improve test quality allowing to check only the relevant parts of the body ## π Example ``` expect('/demo/').toHaveBeenFetchedWith({ method:...
## β¨ Feature proposal Being able to match strictly a url path ## π― Motivation I will explain it with some examples, for better clarity. With the current implementation this...
## β¨ Feature proposal Add console warning when we use `.debugRequests()` method. ## π― Motivation We always forget to remove the method after debugging ## π Example  ## π¬...
## β¨ Feature proposal Being able to check the headers of a request ## π― Motivation Right now we are using `expect(global.fetch).toHaveBeenCalledWith(...`, what make the usage kind of tricky. By...
## β¨ Feature proposal Being able to ensure synchrony between http requests. As a user of Wrapito I would like to ensure that a request its being called after a...