Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ai-apps #2660 +/- ##
==========================================
Coverage ? 93.38%
==========================================
Files ? 37
Lines ? 7592
Branches ? 668
==========================================
Hits ? 7090
Misses ? 497
Partials ? 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| sinon.assert.calledWith(fakeClient.assistant.threads.setStatus, { | ||
| channel_id: 'C1234', | ||
| thread_ts: '1234.56', | ||
| status: 'Status set!', | ||
| }); | ||
| }); |
There was a problem hiding this comment.
praise: This is a big improvement in test quality!
There was a problem hiding this comment.
🗣️ ramble: Thanks for noticing! I believe we should assert with as much detail as possible when possible to avoid unexpected regressions. Hope to continue with similar care to code health in related changes!
| sinon.assert.calledWith(fakeClient.assistant.threads.setStatus, { | ||
| channel_id: 'C1234', | ||
| thread_ts: '1234.56', | ||
| status: 'Status set!', | ||
| }); | ||
| }); |
There was a problem hiding this comment.
🗣️ ramble: Thanks for noticing! I believe we should assert with as much detail as possible when possible to avoid unexpected regressions. Hope to continue with similar care to code health in related changes!
Summary
This PR accepts
assistant.thread.setStatusmethod arguments from theAssistantclass to support additional arguments.Preview
Requirements