Clear and concise description of the problem
Coming from the #7847 (comment)
We need to enable browser mode tests in the future for unit tests
Ideally we want to run them in both node and browser environments, but currently we can only run it in node/jsdom env because we are using jest-snapshot.
Opening this issue as proposed in the discussion by @hi-ogawa
linking our usecase: https://github.com/fabricjs/fabric.js/blob/master/vitest.extend.ts#L3
Suggested solution
Maybe an export toMatchSnapshot from vitest package that can be used just like jest one?
Alternative
No response
Additional context
No response
Validations
Clear and concise description of the problem
Coming from the #7847 (comment)
We need to enable browser mode tests in the future for unit tests
Ideally we want to run them in both node and browser environments, but currently we can only run it in node/jsdom env because we are using jest-snapshot.
Opening this issue as proposed in the discussion by @hi-ogawa
linking our usecase: https://github.com/fabricjs/fabric.js/blob/master/vitest.extend.ts#L3
Suggested solution
Maybe an export toMatchSnapshot from vitest package that can be used just like jest one?
Alternative
No response
Additional context
No response
Validations