fix: handle conditional breaks in nested switch statement cases #4937
Codecov / codecov/project
succeeded
Apr 16, 2023 in 1s
98.98% (-0.01%) compared to ab33645, passed because patch was fully covered by tests with no unexpected coverage changes
View this Pull Request on Codecov
98.98% (-0.01%) compared to ab33645, passed because patch was fully covered by tests with no unexpected coverage changes
Details
Codecov Report
Merging #4937 (d25e759) into master (ab33645) will decrease coverage by
0.01%
.
The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #4937 +/- ##
==========================================
- Coverage 98.98% 98.98% -0.01%
==========================================
Files 221 222 +1
Lines 8067 8047 -20
Branches 2214 2208 -6
==========================================
- Hits 7985 7965 -20
Misses 28 28
Partials 54 54
Impacted Files | Coverage Δ | |
---|---|---|
src/ast/ExecutionContext.ts | 100.00% <ø> (ø) |
|
src/ast/nodes/BreakStatement.ts | 100.00% <100.00%> (ø) |
|
src/ast/nodes/ContinueStatement.ts | 100.00% <100.00%> (ø) |
|
src/ast/nodes/DoWhileStatement.ts | 100.00% <100.00%> (ø) |
|
src/ast/nodes/ForInStatement.ts | 100.00% <100.00%> (ø) |
|
src/ast/nodes/ForOfStatement.ts | 100.00% <100.00%> (ø) |
|
src/ast/nodes/ForStatement.ts | 100.00% <100.00%> (ø) |
|
src/ast/nodes/IfStatement.ts | 100.00% <100.00%> (ø) |
|
src/ast/nodes/ReturnStatement.ts | 100.00% <100.00%> (ø) |
|
src/ast/nodes/SwitchStatement.ts | 100.00% <100.00%> (ø) |
|
... and 4 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.