vitest-canvas-mock icon indicating copy to clipboard operation
vitest-canvas-mock copied to clipboard

feature request: expose and export `importMockWindow`

Open error-four-o-four opened this issue 10 months ago • 0 comments

Hey there,

I'd like to suggest to export the function importMockWindow because in my case I want to mock the Canvas API on a specific Window object. This would be the same behaviour as it is provided by jest-canvas-mock.

Please let me know if you have any thoughts on this.

Best regards

error-four-o-four avatar Apr 12 '24 12:04 error-four-o-four