-
Notifications
You must be signed in to change notification settings - Fork 106
Remove react platform and lint tests #115
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
Conversation
* refactor(tests): lint test files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The native/dom removal looks perfect (: Left two opinionated comments about linting. Those are not must dos, just something to discuss.
@@ -1,5 +1,6 @@ | |||
import React, { Component } from 'react'; | |||
import { render, cleanup, act } from '@testing-library/react/pure'; | |||
// eslint-disable-next-line import/no-unresolved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the linter cry because of the linking/mocking here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It cries because react-easy-state is not installed as a node package. It is only linked, and eslint cannot see that sadly.
Thanks! |
🎉 This PR is included in version 6.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Removed react-platform.
Had to leave react-dom and react-native in as dev deps since our testing libraries use them as peer deps.