-
Notifications
You must be signed in to change notification settings - Fork 26
Added transformation, e-shadow, e-gradient parameter #84
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #84 +/- ##
==========================================
+ Coverage 95.54% 95.98% +0.43%
==========================================
Files 9 9
Lines 202 224 +22
Branches 50 59 +9
==========================================
+ Hits 193 215 +22
Misses 1 1
Partials 8 8 ☔ View full report in Codecov by Sentry. |
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.
LGTM
src/constants/supportedTransforms.ts
Outdated
effectShadow: "e-shadow", | ||
|
||
/** | ||
* @link https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation.md#gradient-e-gradient |
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.
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.
done
test/upload.js
Outdated
await sleep(); | ||
var errRes = { | ||
help: "", | ||
message: "Invalid transformation parameter.", |
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.
Error message is not helpful to user. We can add a valid example like we do in our transformation parser. Append a generic valid example sentence in the end.
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.
done
No description provided.