├── README.md ├── v1.0 ├── .eslintrc.js ├── .gitignore ├── README.md ├── package.json ├── public │ └── index.html ├── src │ ├── App.jsx │ ├── __tests__ │ │ ├── __snapshots__ │ │ │ ├── button.spec.jsx.snap │ │ │ ├── checkbox.spec.jsx.snap │ │ │ ├── columns.spec.jsx.snap │ │ │ ├── container.spec.jsx.snap │ │ │ ├── jumbotron.spec.jsx.snap │ │ │ ├── multiselect.spec.jsx.snap │ │ │ ├── options.spec.jsx.snap │ │ │ ├── row.spec.jsx.snap │ │ │ ├── textInput.spec.jsx.snap │ │ │ └── titleHeader.spec.jsx.snap │ │ ├── button.spec.jsx │ │ ├── checkbox.spec.jsx │ │ ├── columns.spec.jsx │ │ ├── container.spec.jsx │ │ ├── form.spec.jsx │ │ ├── jumbotron.spec.jsx │ │ ├── multiselect.spec.jsx │ │ ├── options.spec.jsx │ │ ├── row.spec.jsx │ │ ├── textInput.spec.jsx │ │ └── titleHeader.spec.jsx │ ├── components │ │ ├── Button.jsx │ │ ├── Checkbox.jsx │ │ ├── Column.jsx │ │ ├── Container.jsx │ │ ├── Form.jsx │ │ ├── Jumbotron.jsx │ │ ├── MultiSelect.jsx │ │ ├── Options.jsx │ │ ├── Row.jsx │ │ ├── TextInput.jsx │ │ └── TitleHeader.jsx │ ├── index.jsx │ └── setupTests.js ├── workflows │ └── main.yml └── yarn.lock └── v2.0 ├── .eslintrc.js ├── .gitignore ├── .prettierignore ├── .prettierrc ├── README.md ├── index.html ├── jest.config.js ├── package.json ├── postcss.config.js ├── src ├── App.tsx ├── components │ ├── Form │ │ ├── Form.tsx │ │ ├── Form.types.ts │ │ ├── components │ │ │ └── TextInput │ │ │ │ ├── TextInput.tsx │ │ │ │ └── TextInput.types.ts │ │ └── formValidationSchema.tsx │ └── Header │ │ ├── Header.tsx │ │ └── index.tsx ├── index.css └── index.tsx ├── tailwind.config.js ├── tsconfig.json ├── vite-env.d.ts ├── vite.config.ts └── yarn.lock /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/README.md -------------------------------------------------------------------------------- /v1.0/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/.eslintrc.js -------------------------------------------------------------------------------- /v1.0/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/.gitignore -------------------------------------------------------------------------------- /v1.0/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/README.md -------------------------------------------------------------------------------- /v1.0/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/package.json -------------------------------------------------------------------------------- /v1.0/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/public/index.html -------------------------------------------------------------------------------- /v1.0/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/App.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/button.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/button.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/checkbox.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/checkbox.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/columns.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/columns.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/container.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/container.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/jumbotron.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/jumbotron.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/multiselect.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/multiselect.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/options.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/options.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/row.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/row.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/textInput.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/textInput.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/__snapshots__/titleHeader.spec.jsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/__snapshots__/titleHeader.spec.jsx.snap -------------------------------------------------------------------------------- /v1.0/src/__tests__/button.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/button.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/checkbox.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/checkbox.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/columns.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/columns.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/container.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/container.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/form.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/form.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/jumbotron.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/jumbotron.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/multiselect.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/multiselect.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/options.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/options.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/row.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/row.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/textInput.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/textInput.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/__tests__/titleHeader.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/__tests__/titleHeader.spec.jsx -------------------------------------------------------------------------------- /v1.0/src/components/Button.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/Button.jsx -------------------------------------------------------------------------------- /v1.0/src/components/Checkbox.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/Checkbox.jsx -------------------------------------------------------------------------------- /v1.0/src/components/Column.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/Column.jsx -------------------------------------------------------------------------------- /v1.0/src/components/Container.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/Container.jsx -------------------------------------------------------------------------------- /v1.0/src/components/Form.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/Form.jsx -------------------------------------------------------------------------------- /v1.0/src/components/Jumbotron.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/Jumbotron.jsx -------------------------------------------------------------------------------- /v1.0/src/components/MultiSelect.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/MultiSelect.jsx -------------------------------------------------------------------------------- /v1.0/src/components/Options.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/Options.jsx -------------------------------------------------------------------------------- /v1.0/src/components/Row.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/Row.jsx -------------------------------------------------------------------------------- /v1.0/src/components/TextInput.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/TextInput.jsx -------------------------------------------------------------------------------- /v1.0/src/components/TitleHeader.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/components/TitleHeader.jsx -------------------------------------------------------------------------------- /v1.0/src/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/index.jsx -------------------------------------------------------------------------------- /v1.0/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/src/setupTests.js -------------------------------------------------------------------------------- /v1.0/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/workflows/main.yml -------------------------------------------------------------------------------- /v1.0/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v1.0/yarn.lock -------------------------------------------------------------------------------- /v2.0/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/.eslintrc.js -------------------------------------------------------------------------------- /v2.0/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/.gitignore -------------------------------------------------------------------------------- /v2.0/.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore all Yaml files 2 | *.yaml -------------------------------------------------------------------------------- /v2.0/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/.prettierrc -------------------------------------------------------------------------------- /v2.0/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/README.md -------------------------------------------------------------------------------- /v2.0/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/index.html -------------------------------------------------------------------------------- /v2.0/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/jest.config.js -------------------------------------------------------------------------------- /v2.0/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/package.json -------------------------------------------------------------------------------- /v2.0/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/postcss.config.js -------------------------------------------------------------------------------- /v2.0/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/App.tsx -------------------------------------------------------------------------------- /v2.0/src/components/Form/Form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/components/Form/Form.tsx -------------------------------------------------------------------------------- /v2.0/src/components/Form/Form.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/components/Form/Form.types.ts -------------------------------------------------------------------------------- /v2.0/src/components/Form/components/TextInput/TextInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/components/Form/components/TextInput/TextInput.tsx -------------------------------------------------------------------------------- /v2.0/src/components/Form/components/TextInput/TextInput.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/components/Form/components/TextInput/TextInput.types.ts -------------------------------------------------------------------------------- /v2.0/src/components/Form/formValidationSchema.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/components/Form/formValidationSchema.tsx -------------------------------------------------------------------------------- /v2.0/src/components/Header/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/components/Header/Header.tsx -------------------------------------------------------------------------------- /v2.0/src/components/Header/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './Header' 2 | -------------------------------------------------------------------------------- /v2.0/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/index.css -------------------------------------------------------------------------------- /v2.0/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/src/index.tsx -------------------------------------------------------------------------------- /v2.0/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/tailwind.config.js -------------------------------------------------------------------------------- /v2.0/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/tsconfig.json -------------------------------------------------------------------------------- /v2.0/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /v2.0/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/vite.config.ts -------------------------------------------------------------------------------- /v2.0/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takahirohonda/react-form-unit-test-example/HEAD/v2.0/yarn.lock --------------------------------------------------------------------------------