You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
330 B
11 lines
330 B
import '@testing-library/jest-dom'
|
|
import {vi} from "vitest"
|
|
import * as domHelpers from '@testing-library/dom'
|
|
|
|
class MockPointerEvent{}
|
|
vi.stubGlobal("PointerEvent", MockPointerEvent)
|
|
|
|
global.screen = domHelpers.screen
|
|
global.waitFor = domHelpers.waitFor
|
|
global.prettyDOM = domHelpers.prettyDOM
|
|
global.logDOM = domHelpers.logDOM
|