Closed WilliamBergamin closed 10 months ago
Merging #237 (d3a96fc) into main (288a284) will increase coverage by
0.09%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #237 +/- ##
==========================================
+ Coverage 97.97% 98.07% +0.09%
==========================================
Files 58 58
Lines 2177 2280 +103
Branches 137 137
==========================================
+ Hits 2133 2236 +103
Misses 42 42
Partials 2 2
Files | Coverage Δ | |
---|---|---|
src/dev_deps.ts | 100.00% <100.00%> (ø) |
|
src/schema/slack/functions/add_pin.ts | 100.00% <100.00%> (ø) |
|
...rc/schema/slack/functions/add_user_to_usergroup.ts | 100.00% <100.00%> (ø) |
|
src/schema/slack/functions/archive_channel.ts | 100.00% <ø> (ø) |
|
src/schema/slack/functions/create_channel.ts | 100.00% <ø> (ø) |
|
src/schema/slack/functions/create_usergroup.ts | 100.00% <100.00%> (ø) |
|
src/schema/slack/functions/delay.ts | 100.00% <100.00%> (ø) |
|
...c/schema/slack/functions/invite_user_to_channel.ts | 100.00% <100.00%> (ø) |
|
src/schema/slack/functions/mod.ts | 100.00% <100.00%> (ø) |
|
src/schema/slack/functions/open_form.ts | 100.00% <100.00%> (ø) |
|
... and 7 more |
... and 5 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Summary
This PR introduces the new slack type
slack#/types/file_id
and update the slack functions to use this new type.Had to also modify he generation script to improve the robustness of the generated tests
testing
https://raw.githubusercontent.com/slackapi/deno-slack-sdk/type_file_id_with_builtins/src/
as the value ofdeno-slack-sdk/
in theimport_map.json
of a projectSpecial notes
Ensure your app has the
files:read
scope, since this is required for the feature and logged error is crypticRequirements
deno task test
after making the changes.