Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix jest configuration #14

Merged
merged 2 commits into from
Feb 27, 2020
Merged

Fix jest configuration #14

merged 2 commits into from
Feb 27, 2020

Conversation

AceGentile
Copy link
Contributor

Make jest run:

- remove deprecated setupTestFrameworkScriptFile key
- add setupFilesAfterEnv key
- add a css mock module to fix broken css imports
- fix `TypeError: Cannot create property 'propTypes' on string ''` on `Calendario` component

Fix major issues with jest configuration in order
to make jest work with the project:

- remove deprecated setupTestFrameworkScriptFile key
- add setupFilesAfterEnv key
- add a css mock module to fix broken css imports
fix jest test TypeError when running tests

`TypeError: Cannot create property 'propTypes' on string ''`

caused by a typo in Calendario class name propTypes
declaration
@mwithi mwithi merged commit bc86a78 into informatici:develop Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants