Skip to content

Releases: wheresrhys/fetch-mock

Upgrade to webpack

21 Jan 18:17
6ebae8b
Compare
Choose a tag to compare
Update deps (#250)

* update some out of date deps

* babel-preset-env

* add regenerator-runtime

* transform-runtime

* midway through upgrade to webpack

* fix babelification problems

* prepublish uses webpack

* reinstate sw tests

release with circleci (correct branch)

17 Jan 20:46
Compare
Choose a tag to compare
Pre-release
v6.0.0-beta.9

more extension

release with circleci

17 Jan 20:19
a7995c4
Compare
Choose a tag to compare
Circleci (#245)

* start configuring for circleci workflows

* more config tweaks

* force

* force

* try to run test as workflow

* try circle1

* try again

* try to build

* shift build

* simple build again

* try adding workflows again

* tweak circelci

* tweak circelci

* workflow tweak

* add fan out

* cache node_modules

* test both versions of node fetch

* chrome headless tests

* try circleci docker with browsers

* firefox and lint

* added deploy step

* final tweaks to tasks

Fix regression: url not being added to response objects

15 Oct 21:04
Compare
Choose a tag to compare

Add includeContentLength option

15 Oct 21:03
Compare
Choose a tag to compare

Adds this option so that responses calculate and add Content-Length header

Support combining function matchers with other options

15 Oct 21:01
Compare
Choose a tag to compare

So that e.g. .get(url => /\?/.test(url)) will work

Avoid uncaught error in promise

15 Oct 21:00
Compare
Choose a tag to compare

In future versions of node this is likely to be thrown as an error, so getting ahead of the game with this commit

redirected

24 Jun 17:48
Compare
Choose a tag to compare

Supports using a __redirectUrl property in order to mock a fetch that has followed redirects

v5.11.2

24 Jun 17:39
Compare
Choose a tag to compare

Fixes bug where flush() was resolving too quickly

v5.11.1

24 Jun 17:36
Compare
Choose a tag to compare

Fixes bug caused by including node-fetch's Headers implementation in browser code