jsdom-testing-mocks
v1.11.0 testing jsdom jest vitest mock Resize Observer API Intersection Observer API Web Animations API WAAPI and 4 more...
lint
eslint src/ --ext .ts,.tsx
build
tsup
watch
tsup --watch
prepare
tsup
test:vi
vitest --config ./vitest.config.ts run
test:all
npm run test:jest && npm run test:vi && npm run test:swc && npm run test:examples
test:swc
jest --config ./swcjest.config.ts
test:jest
jest
test:examples
npm --prefix ./examples run test:all