donate-button
donate-button copied to clipboard
Tests dont run
We should get them to run. Some issues:
- for
src/components/EveryMonth/EveryMonth.test.js
:Jest encountered an unexpected token
- looks like code is not getting downcompiled to node-compatible environment properly - for
docs/every-month/test.js
:ReferenceError: window is not defined
- looks like code isn't formatted to work serverside either - Library still uses
@testing-library/react
despite the app using Preact
Suggestion: along with just making it work I'd also like to switch over to ava
as well since its generally a simpler to configure and use tool that does what we need to do.