enzyme
Here are 1,220 public repositories matching this topic...
rendering a component with <> ... </> seems troublesome and often return null instead of children
functional-component.js
import React from 'react';
export default ({ message }) => <span>{message}</span>;
component.js
import React from 'react';
import FunctionalComponent from './functional-component';
export default ({ message, show }) => {
return (
<>
Configuration doesn't work in PhpStorm.
My question on StackOverflow https://stackoverflow.com/questions/60521964/how-to-configure-jest-in-phpstorm-for-react-application-create-react-app-flavor
Duplicate it here.
When I specify jest config in a separate file, jest-environment-enzyme can't parse or see it or anything.
But it can see config if I specify it in package.json, but anyway it thro
-
Updated
Jul 13, 2020 - TypeScript
-
Updated
Apr 28, 2017 - JavaScript
-
Updated
Sep 8, 2017 - JavaScript
-
Updated
Jun 6, 2020 - JavaScript
-
Updated
Apr 24, 2019 - TypeScript
-
Updated
Jul 16, 2020 - JavaScript
-
Updated
May 17, 2019 - JavaScript
-
Updated
Sep 24, 2019 - JavaScript
-
Updated
Feb 20, 2019 - JavaScript
-
Updated
Jul 16, 2020 - TypeScript
-
Updated
May 11, 2017 - JavaScript
Describe the solution you'd like
When lessons and courses are linked to, we currently use their description. This is very long and gets cut off on social media platforms like Facebook, LinkedIn, and Twitter. We should have a "summary" that describes, in 110 characters or less, what the course or lesson is about.
Describe alternatives you've considered
We already have this wired up for
-
Updated
Apr 30, 2017 - JavaScript
-
Updated
Aug 17, 2019 - JavaScript
-
Updated
May 11, 2020 - HTML
-
Updated
Mar 12, 2019 - TypeScript
-
Updated
Jul 15, 2020 - JavaScript
-
Updated
Jan 5, 2020 - JavaScript
-
Updated
Jun 30, 2020 - JavaScript
-
Updated
Jun 29, 2020 - TypeScript
Improve this page
Add a description, image, and links to the enzyme topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the enzyme topic, visit your repo's landing page and select "manage topics."
Current behavior
Hello, I would simply like to request that the documentation for
find()(https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/find.html) be updated to reflect its snapshot-nature. For example, in a situation where clicking a button updates state under the hood...