Skip to content

mcous/user-event-clipboard-leak

Repository files navigation

@testing-library/user-event clipboard state leak

In Vitest - or any test runner that does not expose global afterEach and afterAll functions - clipboard stub state is not reset between tests.

gh repo clone mcous/user-event-clipboard-leak
cd user-event-clipboard-leak
npm install
npm run test:globals # pass
npm run test:no-globals # fail

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published