vigetlabs / microcosm

Flux with actions at center stage. Write optimistic updates, cancel requests, and track changes with ease.
http://code.viget.com/microcosm/
MIT License
487 stars 22 forks source link

Test registration in terms of public API #387

Closed nhunzaker closed 7 years ago

nhunzaker commented 7 years ago

Related to #380. I'm chipping away at only using the public API for testing. That way, we can eventually do some advanced build optimizations and still ensure the correctness of Microcosm.

codecov-io commented 7 years ago

Codecov Report

Merging #387 into master will decrease coverage by 0.22%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #387      +/-   ##
==========================================
- Coverage     100%   99.77%   -0.23%     
==========================================
  Files          25       25              
  Lines         878      880       +2     
==========================================
  Hits          878      878              
- Misses          0        2       +2
Impacted Files Coverage Δ
src/get-registration.js 100% <100%> (ø) :arrow_up:
src/history.js 100% <100%> (ø) :arrow_up:
src/lifecycle.js 88.88% <0%> (-11.12%) :arrow_down:

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 17cf086...bcc78d7. Read the comment docs.