giorgosart / react-easy-edit

Inline editing library for React
https://giorgosart.gitbook.io/react-easy-edit/
MIT License
251 stars 45 forks source link

Improve unit test coverage: cover `onKeyDown` function #161

Closed giorgosart closed 7 months ago

giorgosart commented 1 year ago

image

To run test with coverage, run yarn run coverage and locate the coverage report under `project root folder/coverage/lcov-report/index.html

mnosov622 commented 1 year ago

Hi @giorgosart ,

I would love to work on it.

giorgosart commented 1 year ago

@mnosov622 I'll assign this to you. Just an FYI, this method was covered previously using Jest and Enzyme but ever since I ve updated to React 18 it stopped working. You will need to use react testing library.