Yoctol / bottender

⚡️ A framework for building conversational user interfaces.
https://bottender.js.org
MIT License
4.21k stars 333 forks source link

Extract getRequestContextAndChannelBot from Server.run #855

Closed etrex closed 4 years ago

etrex commented 4 years ago

Extract getRequestContextAndChannelBot from Server.run

codecov-commenter commented 4 years ago

Codecov Report

Merging #855 into release/1.5 will decrease coverage by 0.00%. The diff coverage is 58.92%.

Impacted file tree graph

@@               Coverage Diff               @@
##           release/1.5     #855      +/-   ##
===============================================
- Coverage        84.08%   84.07%   -0.01%     
===============================================
  Files              122      123       +1     
  Lines             6270     6279       +9     
  Branches          1615     1617       +2     
===============================================
+ Hits              5272     5279       +7     
- Misses             994      996       +2     
  Partials             4        4              
Impacted Files Coverage Δ
packages/bottender/src/types.ts 100.00% <ø> (ø)
packages/bottender/src/server/Server.ts 50.00% <37.14%> (-8.83%) :arrow_down:
...ender/src/shared/getChannelBotAndRequestContext.ts 94.73% <94.73%> (ø)
packages/bottender/src/shared/getChannelBots.ts 89.47% <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 bb17f5d...e42ec3d. Read the comment docs.