paulpdaniels / streamish

A simple Functional Reactive Streaming library
MIT License
0 stars 0 forks source link

Started work on the test subscriber injection. #24

Closed paulpdaniels closed 7 years ago

paulpdaniels commented 7 years ago

Added new jestSubscribe method as well as a generic testSubscribe method which allows for functional testing.

Need to add marble diagram parsing for true awesomeness.

codecov-io commented 7 years ago

Codecov Report

Merging #24 into master will decrease coverage by 0.11%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage      99%   98.88%   -0.12%     
==========================================
  Files          36       40       +4     
  Lines         603      719     +116     
  Branches       69       95      +26     
==========================================
+ Hits          597      711     +114     
- Misses          5        7       +2     
  Partials        1        1
Impacted Files Coverage Δ
src/stream/schedulers/helpers.js 100% <ø> (ø) :arrow_up:
src/stream/schedulers/virtualTimeScheduler.js 100% <100%> (ø) :arrow_up:
src/stream/Subscription.js 100% <100%> (ø) :arrow_up:
src/stream/source/fromTimer.js 100% <100%> (ø) :arrow_up:
test/helpers/testSubscribe.js 100% <100%> (ø)
test/helpers/withMarbles.js 100% <100%> (ø)
src/stream/source/fromEvent.js 100% <100%> (ø)
src/stream/operators/toArray.js 100% <100%> (ø)
src/stream/schedulers/testScheduler.js 100% <100%> (+7.69%) :arrow_up:
src/stream/operators/delay.js 86.36% <0%> (-13.64%) :arrow_down:
... and 4 more

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 ab449ca...ede6a17. Read the comment docs.