forked from blackjk3/react-signature-pad
-
-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
kind: internalChanges only affect the internals and not the API or usageChanges only affect the internals and not the API or usage
Description
Place for notes as I'm implementing tests on the tests branch.
Some initial notes:
- Will need to use
enzymefor component testing as we actually do need the ref in this library's case to test instance methods, so can't usereact-testing-library. We also do need to test actually mounting to the DOM (due tocanvasusage), soreact-test-rendererdoesn't really suffice either. - Thought I would also need something to support
canvaslike thecanvaspackage orcanvas-prebuilt, but apparently need fulljsdomsupport for enzyme (https://airbnb.io/enzyme/docs/guides/jsdom.html). The set-up forjsdomforenzymehowever seems equivalent to whatbrowser-envdoes, so that can be a replacement.
Metadata
Metadata
Assignees
Labels
kind: internalChanges only affect the internals and not the API or usageChanges only affect the internals and not the API or usage