mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: migrate a bunch of tests to vitest (#21514)
This commit is contained in:
@@ -2,5 +2,6 @@
|
||||
globalThis.HTMLElement.prototype.hasPointerCapture = vi
|
||||
.fn()
|
||||
.mockReturnValue(false);
|
||||
globalThis.HTMLElement.prototype.setPointerCapture = vi.fn();
|
||||
globalThis.HTMLElement.prototype.releasePointerCapture = vi.fn();
|
||||
globalThis.HTMLElement.prototype.scrollIntoView = vi.fn();
|
||||
globalThis.HTMLElement.prototype.setPointerCapture = vi.fn();
|
||||
|
||||
Reference in New Issue
Block a user