meeshkan / unmock-js

Fuzz test your REST API calls
https://unmock.io
93 stars 8 forks source link

Do not use setImmediate in unmock-fetch. #349

Closed ksaaskil closed 4 years ago

ksaaskil commented 4 years ago

setImmediate is non-standard in browsers so use setTimeout instead to delay the mock generation to next tick.

codecov-io commented 4 years ago

Codecov Report

Merging #349 into dev will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #349   +/-   ##
=======================================
  Coverage   80.95%   80.95%           
=======================================
  Files          52       52           
  Lines        2347     2347           
  Branches      577      577           
=======================================
  Hits         1900     1900           
  Misses        447      447
Impacted Files Coverage Δ
packages/unmock-fetch/src/fetch.ts 95.65% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c4a32ab...2556bf4. Read the comment docs.