-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: add image util functions test #2821
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @agatha197 and the rest of your teammates on Graphite |
e12704a
to
b22b627
Compare
69e3cce
to
a969f2b
Compare
b22b627
to
e256c11
Compare
a969f2b
to
7f3057a
Compare
e256c11
to
6445e5b
Compare
7f3057a
to
cb457a2
Compare
6445e5b
to
4f66088
Compare
cb457a2
to
c95f3bb
Compare
4f66088
to
3f70242
Compare
c95f3bb
to
a0eef13
Compare
3f70242
to
6ef74c3
Compare
a0eef13
to
75be312
Compare
6ef74c3
to
a662400
Compare
75be312
to
41e7bf3
Compare
a662400
to
38fc810
Compare
41e7bf3
to
d0da32f
Compare
38fc810
to
5cb9459
Compare
d0da32f
to
ff086a3
Compare
5cb9459
to
01d1980
Compare
ff086a3
to
52c9cdc
Compare
01d1980
to
b814fbf
Compare
52c9cdc
to
8a150e9
Compare
b814fbf
to
162bc3b
Compare
8a150e9
to
882b8e0
Compare
162bc3b
to
4f68e12
Compare
882b8e0
to
4717484
Compare
4f68e12
to
18df098
Compare
4717484
to
5d06299
Compare
18df098
to
983a8a6
Compare
5d06299
to
a59e849
Compare
a59e849
to
0edf30c
Compare
f644e87
to
7bb0c92
Compare
0edf30c
to
853adcc
Compare
853adcc
to
42911e5
Compare
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.27% (+0.26% 🔼) |
386/7319 |
🔴 | Branches | 4.56% (+0.16% 🔼) |
229/5027 |
🔴 | Functions | 3.15% (+0.21% 🔼) |
76/2414 |
🔴 | Lines | 5.18% (+0.26% 🔼) |
371/7158 |
Test suite run success
109 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from 0479273
42911e5
to
76d12f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not copy the function code for testing. If it's a pure function, export it separately. For hooks, mock them when writing tests.
I pushed changes to export it separately.
LGTM, now!
Thank you 😉
Merge activity
|
<!-- Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes, and how it affects the users and other developers. --> **Checklist:** (if applicable) - [ ] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
76d12f2
to
0479273
Compare
Checklist: (if applicable)