Closed gkspranger closed 3 years ago
Merging #198 (44b26b5) into master (7a7949d) will increase coverage by
0.63%
. The diff coverage is48.38%
.
@@ Coverage Diff @@
## master #198 +/- ##
==========================================
+ Coverage 57.53% 58.17% +0.63%
==========================================
Files 94 94
Lines 4145 4158 +13
Branches 222 224 +2
==========================================
+ Hits 2385 2419 +34
+ Misses 1538 1515 -23
- Partials 222 224 +2
Impacted Files | Coverage Δ | |
---|---|---|
src/yetibot/core/handler.clj | 60.16% <48.38%> (+23.79%) |
: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 7a7949d...44b26b5. Read the comment docs.
src/yetibot/core/handler.clj
(->handled-expr-info)
logic transforming handled expr result into useful info map to be used by other functions(add-bot-response-to-history)
logic recording bot response to history table when option is enabled(->handled-expr-results)
logic transforming handled expr results into useful collection to be returned by function(record-and-run-raw)
to use new functions and kondo-cleaned where recommended(dispatch-command-response)
logic dispatching response to be formatted, and ultimately passed long tosend-message
(handle-raw)
to use new functionstest/yetibot/core/test/handler.clj
verified at DB level history is being added as expected when issuing bot commands (see below)