Skip to content

freewind-demos/typescript-react-testing-library--user-event--multiple-select--demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript React "react-testing-library" "user-event" Multiple Select Demo

Try "user-event" in tests to simulate user selected options in a multiple select.

But not all work as expected:

  1. check option.selected is work as expected
  2. onChange callback doesn't have expected values
npm install
npm run test

It will fail and have error messages in console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published