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

[#209] React and React DOM upgraded to v18 #210

Merged
merged 7 commits into from
Jul 12, 2023
Merged

[#209] React and React DOM upgraded to v18 #210

merged 7 commits into from
Jul 12, 2023

Conversation

VojtechLunak
Copy link
Collaborator

Dependencies synchronised to correspond to React 18. Work in progress. Library for global storybook controls has React 18 as optional peer dependency, need to examine closer.

…torybook, react component libs, testing libs,...) synchronised. Work in progress. Library for global storybook controls has React 18 as optional peer dependency, need to examine closer.
@netlify
Copy link

netlify bot commented Jun 30, 2023

Deploy Preview for s-forms-kbss ready!

Name Link
🔨 Latest commit 6e72ff8
🔍 Latest deploy log https://app.netlify.com/sites/s-forms-kbss/deploys/64a54037b8e5c5000897bba4
😎 Deploy Preview https://deploy-preview-210--s-forms-kbss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@blcham blcham self-requested a review July 12, 2023 12:15
Copy link
Collaborator

@blcham blcham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but we need to create issue to reconsider how to do tests and to remove @enzyme-adapter-react-18.

expect(picker.props().showTimeSelect).toEqual(true);
expect(picker.props().showTimeSelectOnly).toEqual(false);
expect(picker.props().selected).toEqual(new Date(value));
expect(screen.queryByText("Time")).toBeNull();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is quite strange ... we should reconsider how to do this and create an issue for it.

@@ -1,7 +1,7 @@
import enzyme, { shallow, mount } from "enzyme";
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
import Adapter from "@cfaester/enzyme-adapter-react-18";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to get rid of this in a future issue.

@blcham blcham merged commit ed478ee into master Jul 12, 2023
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