Add meaningful tests
tomwayson opened this issue · comments
Probably should try react-hooks-testing-library.
If that doesn't work, looks like the best approach is to have the tests create a component that uses the hooks and then do a rendering test on the component with react-testing-library.
In either case will want to mock either the functions in utils/arcgis or esriLoader.loadModules
itself.