Skip to content

Conversation

Smrtnyk
Copy link
Contributor

@Smrtnyk Smrtnyk commented Apr 17, 2025

this moves image filters tests from qunit to vitest

Copy link

codesandbox bot commented Apr 17, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Contributor

It seems that you opened a PR but you didn't add a line to the changelog file
Please under the ## [next] version tag, add a line describing the changes of your pr with this format:
ci/chore/tests/feature/fix(): Some extended description #10547
Example:

  refactor(tests): move image filters tests from qunit to vitest [#10547](https://github.com/fabricjs/fabric.js/pull/10547)

});

it('toJSON', () => {
// @ts-expect-error -- TODO: check this -- it is typed as boolean but we are passing number here
Copy link
Contributor Author

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

Copy link
Member

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.

Copy link
Contributor

Build Stats

file / KB (diff) bundled minified
fabric 913.863 (0) 301.232 (0)

Copy link
Contributor

github-actions bot commented Apr 19, 2025


> fabric@6.6.2 coverage:report:ci
> nyc report --reporter=text-summary


=============================== Coverage summary ===============================
Statements   : 75.28% ( 21637/28739 )
Branches     : 60.58% ( 4034/6658 )
Functions    : 87.41% ( 1577/1804 )
Lines        : 79.74% ( 16520/20715 )
================================================================================

@asturur asturur merged commit 413c326 into fabricjs:master Apr 19, 2025
20 checks passed
@Smrtnyk Smrtnyk deleted the refactor(tests)-move-image-filters-tests-from-qunit-to-vitest branch April 20, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants