ljharb on master
[eslint config] [base] [patch] … [eslint config] [patch] extend … Merge pull request #1996 from r… (compare)
ljharb on master
[editorial] [react] fix typo [eslint config] [*] [deps] upda… (compare)
description is :
Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output. You can also manipulate, traverse, and in some ways simulate runtime given the output.
jest
yarn create react-app ...
and by default I got setupTests.js
file with import '@testing-library/jest-dom/extend-expect';
@testing-library...
packages
setupTests.js
file according to the enzyme
test runner instead of default @testing-library...
@helper
)? For example, a form to let user write setting for servers, we don' t know how many settings they will make so we use a Form(serversetting:List[ServerSetting]) serversetting->list(mapping(id->number,purpose->Text)(ServerSetting.apply)(ServerSetting.unapply))
data structure. In this case, what is the best way to write the html code?
yarn update eslint-plugin-import
and you'll get the latest