Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix switchPipe()() bug, missing edge-cases & cleaner code #73

Merged
merged 6 commits into from
Sep 7, 2020

Conversation

mrWh1te
Copy link
Owner

@mrWh1te mrWh1te commented Sep 7, 2020

This PR standardizes switchPipe()()'s behavior with abort line signal and fixes the bug with the matches signal

TDD for the win 🎯

Fix issue #71

Related #71 (comment), #71 (comment)

- tdd, need to update code to make these pass
- tests passing
- abortlinesignal, matchessignal, and regular pipeValues returned are
  supported
- includes unique abortlinesignal/matchessignal behavior
- may expand upon testing even though coverage is at 100%
@mrWh1te mrWh1te added bug Something isn't working enhancement New feature or request botaction labels Sep 7, 2020
@codecov
Copy link

codecov bot commented Sep 7, 2020

Codecov Report

Merging #73 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #73   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           27        27           
  Lines          596       601    +5     
  Branches       152       154    +2     
=========================================
+ Hits           596       601    +5     
Impacted Files Coverage Δ
src/botmation/actions/assembly-lines.ts 100.00% <100.00%> (ø)

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 04d274f...4d372c3. Read the comment docs.

@sonarcloud
Copy link

sonarcloud bot commented Sep 7, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mrWh1te mrWh1te merged commit 0aa62a0 into master Sep 7, 2020
@mrWh1te mrWh1te deleted the bug-switch-pipe-misses-case-pipe-results branch September 7, 2020 22:33
@mrWh1te mrWh1te mentioned this pull request Sep 7, 2020
50 tasks
@mrWh1te mrWh1te added this to the v2.1 milestone Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
botaction bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant