-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
refactor(tests): move image filters tests from qunit to vitest #10547
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
refactor(tests): move image filters tests from qunit to vitest #10547
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
It seems that you opened a PR but you didn't add a line to the changelog file
|
src/shapes/Image-filters.spec.ts
Outdated
}); | ||
|
||
it('toJSON', () => { | ||
// @ts-expect-error -- TODO: check this -- it is typed as boolean but we are passing number here |
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.
@asturur left a comment here in case you want to check it out
I assume boolean should be passed here instead of the number
or the type is wrong
there is also this same todo on 2 more places
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.
Yes the test was wrong, it makes sense as a boolean and the code behave as boolean.
Build Stats
|
|
this moves image filters tests from qunit to vitest