Closed kakkokari-gtyih closed 1 month ago
Attention: Patch coverage is 24.24242%
with 25 lines
in your changes missing coverage. Please review.
Project coverage is 41.74%. Comparing base (
41936c1
) to head (7e7e999
). Report is 5 commits behind head on develop.
Files | Patch % | Lines |
---|---|---|
packages/backend/src/core/ReversiService.ts | 25.00% | 21 Missing :warning: |
...end/src/server/api/stream/channels/reversi-game.ts | 20.00% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@bindThis
って基本入れたほうがいいのかしら
@bindThis
自身はinstance.someMethod
って引数で渡すことが一切ないならなくても困らないはずだけど、今後起きることを考えるとつけとくと良いと認識してます。
javascriptではconst a = instance.someMethod
ってやったあとにa()
って呼ぶとa
の中でthis
がinstance
と違う値になって壊れることがよくあります。これの対策と思われます
いれた
🙏🏻
What
Why
Fix #14397
Additional info (optional)
Checklist