├── .env.development ├── .env.production ├── .eslintrc.json ├── .gitignore ├── .storybook ├── main.js ├── preview-head.html └── preview.js ├── LICENSE ├── README.md ├── docker-compose.yaml ├── e2e └── example.spec.ts ├── jest.config.js ├── jest.resolver.js ├── jest.setup.js ├── next-env.d.ts ├── next.config.js ├── package.json ├── playwright.config.ts ├── public ├── css │ └── reset.css ├── favicon.ico ├── mockServiceWorker.js └── vercel.svg ├── src ├── components │ ├── atoms │ │ ├── Alert │ │ │ ├── Alert.stories.tsx │ │ │ ├── Alert.test.tsx │ │ │ ├── Alert.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── AnchorButton │ │ │ ├── AnchorButton.stories.tsx │ │ │ ├── AnchorButton.test.tsx │ │ │ ├── AnchorButton.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── AnchorText │ │ │ ├── AnchorText.stories.tsx │ │ │ ├── AnchorText.test.tsx │ │ │ ├── AnchorText.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── Button │ │ │ ├── Button.stories.tsx │ │ │ ├── Button.test.tsx │ │ │ ├── Button.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── README.md │ │ ├── Textarea │ │ │ ├── Textarea.stories.tsx │ │ │ ├── Textarea.test.tsx │ │ │ ├── Textarea.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ └── Textbox │ │ │ ├── Textbox.stories.tsx │ │ │ ├── Textbox.test.tsx │ │ │ ├── Textbox.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ ├── hooks │ │ ├── README.md │ │ ├── useLogout.test.tsx │ │ └── useLogout.tsx │ ├── layouts │ │ ├── BasicLayout │ │ │ ├── BasicLayout.stories.tsx │ │ │ ├── BasicLayout.test.tsx │ │ │ ├── BasicLayout.tsx │ │ │ ├── BasicLayoutPortal.tsx │ │ │ ├── PortalContextProvider.tsx │ │ │ ├── styles.module.css │ │ │ ├── usePortal.test.tsx │ │ │ └── usePortal.tsx │ │ └── README.md │ ├── meta │ │ └── index.tsx │ ├── molecules │ │ ├── HeadGroup │ │ │ ├── HeadGroup.stories.tsx │ │ │ ├── HeadGroup.test.tsx │ │ │ ├── HeadGroup.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── README.md │ │ ├── Table │ │ │ ├── Table.stories.tsx │ │ │ ├── Table.test.tsx │ │ │ ├── Table.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── TextareaWithTitle │ │ │ ├── TextareaWithTitle.stories.tsx │ │ │ ├── TextareaWithTitle.test.tsx │ │ │ ├── TextareaWithTitle.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ └── TextboxWithTitle │ │ │ ├── TextboxWithTitle.stories.tsx │ │ │ ├── TextboxWithTitle.test.tsx │ │ │ ├── TextboxWithTitle.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ ├── organisms │ │ ├── BasicAside │ │ │ ├── BasicAside.stories.tsx │ │ │ ├── BasicAside.test.tsx │ │ │ ├── BasicAside.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── BasicFooter │ │ │ ├── BasicFooter.stories.tsx │ │ │ ├── BasicFooter.test.tsx │ │ │ ├── BasicFooter.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── BasicHeader │ │ │ ├── BasicHeader.stories.tsx │ │ │ ├── BasicHeader.test.tsx │ │ │ ├── BasicHeader.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── PostForm │ │ │ ├── PostForm.stories.tsx │ │ │ ├── PostForm.test.tsx │ │ │ ├── PostForm.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── README.md │ │ └── UserForm │ │ │ ├── UserForm.stories.tsx │ │ │ ├── UserForm.test.tsx │ │ │ ├── UserForm.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ └── templates │ │ ├── Error │ │ ├── Error.stories.tsx │ │ ├── Error.test.tsx │ │ ├── Error.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── Login │ │ ├── Login.stories.tsx │ │ ├── Login.test.tsx │ │ ├── Login.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── Post │ │ ├── Post.stories.tsx │ │ ├── Post.test.tsx │ │ ├── Post.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── PostEdit │ │ ├── PostEdit.stories.tsx │ │ ├── PostEdit.test.tsx │ │ ├── PostEdit.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── Posts │ │ ├── Posts.stories.tsx │ │ ├── Posts.test.tsx │ │ ├── Posts.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── PostsNew │ │ ├── PostsNew.stories.tsx │ │ ├── PostsNew.test.tsx │ │ ├── PostsNew.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── README.md │ │ ├── Top │ │ ├── Panel │ │ │ ├── Panel.stories.tsx │ │ │ ├── Panel.test.tsx │ │ │ ├── Panel.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.css │ │ ├── Top.stories.tsx │ │ ├── Top.test.tsx │ │ ├── Top.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── User │ │ ├── User.stories.tsx │ │ ├── User.test.tsx │ │ ├── User.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── UserEdit │ │ ├── UserEdit.stories.tsx │ │ ├── UserEdit.test.tsx │ │ ├── UserEdit.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ ├── Users │ │ ├── Users.stories.tsx │ │ ├── Users.test.tsx │ │ ├── Users.tsx │ │ ├── index.tsx │ │ └── styles.module.css │ │ └── UsersNew │ │ ├── UsersNew.stories.tsx │ │ ├── UsersNew.test.tsx │ │ ├── UsersNew.tsx │ │ ├── index.tsx │ │ └── styles.module.css ├── errors.test.ts ├── errors.ts ├── lib │ ├── asserts │ │ ├── index.test.ts │ │ └── index.ts │ ├── next-session │ │ └── index.ts │ └── next │ │ ├── api │ │ ├── index.ts │ │ ├── middlewares │ │ │ ├── auth.test.ts │ │ │ ├── auth.ts │ │ │ ├── combineHandlers.test.ts │ │ │ ├── combineHandlers.ts │ │ │ ├── handle.test.ts │ │ │ ├── handle.ts │ │ │ ├── method.test.ts │ │ │ └── methods.ts │ │ └── type.ts │ │ ├── asserts.test.ts │ │ ├── asserts.ts │ │ ├── gssp │ │ ├── error.ts │ │ ├── errors.test.ts │ │ ├── index.ts │ │ ├── middlewares │ │ │ ├── auth.test.ts │ │ │ ├── auth.ts │ │ │ ├── checkLogin.ts │ │ │ ├── combineGssp.test.ts │ │ │ └── combineGssp.ts │ │ └── type.ts │ │ └── types.ts ├── pages │ ├── README.md │ ├── _app.page.tsx │ ├── _document.page.tsx │ ├── api │ │ ├── login.api.ts │ │ ├── login.test.ts │ │ ├── logout.api.ts │ │ ├── logout.test.ts │ │ ├── posts │ │ │ ├── [id].api.ts │ │ │ ├── [id].test.ts │ │ │ ├── index.api.ts │ │ │ └── index.test.ts │ │ └── users │ │ │ ├── [id].api.ts │ │ │ ├── [id].test.ts │ │ │ ├── index.api.ts │ │ │ └── index.test.ts │ ├── index.page.tsx │ ├── posts │ │ ├── [id] │ │ │ ├── edit.page.tsx │ │ │ ├── edit.test.tsx │ │ │ ├── index.page.tsx │ │ │ └── index.test.tsx │ │ ├── index.page.tsx │ │ ├── index.test.tsx │ │ ├── new.page.tsx │ │ └── new.test.tsx │ └── users │ │ ├── [id] │ │ ├── edit.page.tsx │ │ ├── edit.test.tsx │ │ ├── index.page.tsx │ │ └── index.test.tsx │ │ ├── index.page.tsx │ │ ├── index.test.tsx │ │ ├── new.page.tsx │ │ └── new.test.tsx ├── services │ ├── README.md │ ├── api.example.com │ │ ├── fetcher │ │ │ ├── index.test.ts │ │ │ ├── index.ts │ │ │ ├── mock.test.ts │ │ │ ├── mock.ts │ │ │ └── type.ts │ │ ├── index.ts │ │ ├── posts │ │ │ ├── [id] │ │ │ │ ├── index.test.ts │ │ │ │ ├── index.ts │ │ │ │ └── mock.ts │ │ │ ├── index.test.ts │ │ │ ├── index.ts │ │ │ ├── mock.ts │ │ │ ├── schema.ts │ │ │ └── type.ts │ │ └── users │ │ │ ├── [id] │ │ │ ├── index.test.ts │ │ │ ├── index.ts │ │ │ └── mock.ts │ │ │ ├── index.test.ts │ │ │ ├── index.ts │ │ │ ├── mock.ts │ │ │ ├── schema.ts │ │ │ └── type.ts │ └── api │ │ ├── fetcher │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── mock.test.ts │ │ ├── mock.ts │ │ └── type.ts │ │ ├── index.ts │ │ ├── login │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── mock.ts │ │ ├── schema.ts │ │ └── type.ts │ │ ├── logout │ │ ├── index.ts │ │ ├── mock.ts │ │ └── type.ts │ │ ├── posts │ │ ├── [id] │ │ │ ├── index.test.ts │ │ │ ├── index.ts │ │ │ └── mock.ts │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── mock.ts │ │ ├── schema.ts │ │ └── type.ts │ │ └── users │ │ ├── [id] │ │ ├── index.test.ts │ │ ├── index.ts │ │ └── mock.ts │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── mock.ts │ │ ├── schema.ts │ │ └── type.ts └── tests │ ├── jest.customMatchers.test.tsx │ ├── jest.customMatchers.ts │ ├── jest.ts │ ├── mock │ ├── browser.ts │ ├── crypto.ts │ ├── handlers.ts │ ├── index.tsx │ └── server.ts │ └── storybook.tsx ├── tsconfig.json └── yarn.lock /.env.development: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_API_MOCKING=enabled -------------------------------------------------------------------------------- /.env.production: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_API_MOCKING=enabled -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/.gitignore -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/.storybook/main.js -------------------------------------------------------------------------------- /.storybook/preview-head.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.storybook/preview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/.storybook/preview.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /e2e/example.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/e2e/example.spec.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.resolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/jest.resolver.js -------------------------------------------------------------------------------- /jest.setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/jest.setup.js -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/package.json -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/playwright.config.ts -------------------------------------------------------------------------------- /public/css/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/public/css/reset.css -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/mockServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/public/mockServiceWorker.js -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/components/atoms/Alert/Alert.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Alert/Alert.stories.tsx -------------------------------------------------------------------------------- /src/components/atoms/Alert/Alert.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Alert/Alert.test.tsx -------------------------------------------------------------------------------- /src/components/atoms/Alert/Alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Alert/Alert.tsx -------------------------------------------------------------------------------- /src/components/atoms/Alert/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Alert"; 3 | -------------------------------------------------------------------------------- /src/components/atoms/Alert/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Alert/styles.module.css -------------------------------------------------------------------------------- /src/components/atoms/AnchorButton/AnchorButton.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorButton/AnchorButton.stories.tsx -------------------------------------------------------------------------------- /src/components/atoms/AnchorButton/AnchorButton.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorButton/AnchorButton.test.tsx -------------------------------------------------------------------------------- /src/components/atoms/AnchorButton/AnchorButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorButton/AnchorButton.tsx -------------------------------------------------------------------------------- /src/components/atoms/AnchorButton/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./AnchorButton"; 3 | -------------------------------------------------------------------------------- /src/components/atoms/AnchorButton/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorButton/styles.module.css -------------------------------------------------------------------------------- /src/components/atoms/AnchorText/AnchorText.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorText/AnchorText.stories.tsx -------------------------------------------------------------------------------- /src/components/atoms/AnchorText/AnchorText.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorText/AnchorText.test.tsx -------------------------------------------------------------------------------- /src/components/atoms/AnchorText/AnchorText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorText/AnchorText.tsx -------------------------------------------------------------------------------- /src/components/atoms/AnchorText/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorText/index.tsx -------------------------------------------------------------------------------- /src/components/atoms/AnchorText/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/AnchorText/styles.module.css -------------------------------------------------------------------------------- /src/components/atoms/Button/Button.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Button/Button.stories.tsx -------------------------------------------------------------------------------- /src/components/atoms/Button/Button.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Button/Button.test.tsx -------------------------------------------------------------------------------- /src/components/atoms/Button/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Button/Button.tsx -------------------------------------------------------------------------------- /src/components/atoms/Button/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Button"; 3 | -------------------------------------------------------------------------------- /src/components/atoms/Button/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Button/styles.module.css -------------------------------------------------------------------------------- /src/components/atoms/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/README.md -------------------------------------------------------------------------------- /src/components/atoms/Textarea/Textarea.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textarea/Textarea.stories.tsx -------------------------------------------------------------------------------- /src/components/atoms/Textarea/Textarea.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textarea/Textarea.test.tsx -------------------------------------------------------------------------------- /src/components/atoms/Textarea/Textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textarea/Textarea.tsx -------------------------------------------------------------------------------- /src/components/atoms/Textarea/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textarea/index.tsx -------------------------------------------------------------------------------- /src/components/atoms/Textarea/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textarea/styles.module.css -------------------------------------------------------------------------------- /src/components/atoms/Textbox/Textbox.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textbox/Textbox.stories.tsx -------------------------------------------------------------------------------- /src/components/atoms/Textbox/Textbox.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textbox/Textbox.test.tsx -------------------------------------------------------------------------------- /src/components/atoms/Textbox/Textbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textbox/Textbox.tsx -------------------------------------------------------------------------------- /src/components/atoms/Textbox/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textbox/index.tsx -------------------------------------------------------------------------------- /src/components/atoms/Textbox/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/atoms/Textbox/styles.module.css -------------------------------------------------------------------------------- /src/components/hooks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/hooks/README.md -------------------------------------------------------------------------------- /src/components/hooks/useLogout.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/hooks/useLogout.test.tsx -------------------------------------------------------------------------------- /src/components/hooks/useLogout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/hooks/useLogout.tsx -------------------------------------------------------------------------------- /src/components/layouts/BasicLayout/BasicLayout.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/BasicLayout/BasicLayout.stories.tsx -------------------------------------------------------------------------------- /src/components/layouts/BasicLayout/BasicLayout.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/BasicLayout/BasicLayout.test.tsx -------------------------------------------------------------------------------- /src/components/layouts/BasicLayout/BasicLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/BasicLayout/BasicLayout.tsx -------------------------------------------------------------------------------- /src/components/layouts/BasicLayout/BasicLayoutPortal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/BasicLayout/BasicLayoutPortal.tsx -------------------------------------------------------------------------------- /src/components/layouts/BasicLayout/PortalContextProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/BasicLayout/PortalContextProvider.tsx -------------------------------------------------------------------------------- /src/components/layouts/BasicLayout/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/BasicLayout/styles.module.css -------------------------------------------------------------------------------- /src/components/layouts/BasicLayout/usePortal.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/BasicLayout/usePortal.test.tsx -------------------------------------------------------------------------------- /src/components/layouts/BasicLayout/usePortal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/BasicLayout/usePortal.tsx -------------------------------------------------------------------------------- /src/components/layouts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/layouts/README.md -------------------------------------------------------------------------------- /src/components/meta/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/meta/index.tsx -------------------------------------------------------------------------------- /src/components/molecules/HeadGroup/HeadGroup.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/HeadGroup/HeadGroup.stories.tsx -------------------------------------------------------------------------------- /src/components/molecules/HeadGroup/HeadGroup.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/HeadGroup/HeadGroup.test.tsx -------------------------------------------------------------------------------- /src/components/molecules/HeadGroup/HeadGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/HeadGroup/HeadGroup.tsx -------------------------------------------------------------------------------- /src/components/molecules/HeadGroup/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./HeadGroup"; 3 | -------------------------------------------------------------------------------- /src/components/molecules/HeadGroup/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/HeadGroup/styles.module.css -------------------------------------------------------------------------------- /src/components/molecules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/README.md -------------------------------------------------------------------------------- /src/components/molecules/Table/Table.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/Table/Table.stories.tsx -------------------------------------------------------------------------------- /src/components/molecules/Table/Table.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/Table/Table.test.tsx -------------------------------------------------------------------------------- /src/components/molecules/Table/Table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/Table/Table.tsx -------------------------------------------------------------------------------- /src/components/molecules/Table/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Table"; 3 | -------------------------------------------------------------------------------- /src/components/molecules/Table/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/Table/styles.module.css -------------------------------------------------------------------------------- /src/components/molecules/TextareaWithTitle/TextareaWithTitle.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextareaWithTitle/TextareaWithTitle.stories.tsx -------------------------------------------------------------------------------- /src/components/molecules/TextareaWithTitle/TextareaWithTitle.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextareaWithTitle/TextareaWithTitle.test.tsx -------------------------------------------------------------------------------- /src/components/molecules/TextareaWithTitle/TextareaWithTitle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextareaWithTitle/TextareaWithTitle.tsx -------------------------------------------------------------------------------- /src/components/molecules/TextareaWithTitle/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextareaWithTitle/index.tsx -------------------------------------------------------------------------------- /src/components/molecules/TextareaWithTitle/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextareaWithTitle/styles.module.css -------------------------------------------------------------------------------- /src/components/molecules/TextboxWithTitle/TextboxWithTitle.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextboxWithTitle/TextboxWithTitle.stories.tsx -------------------------------------------------------------------------------- /src/components/molecules/TextboxWithTitle/TextboxWithTitle.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextboxWithTitle/TextboxWithTitle.test.tsx -------------------------------------------------------------------------------- /src/components/molecules/TextboxWithTitle/TextboxWithTitle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextboxWithTitle/TextboxWithTitle.tsx -------------------------------------------------------------------------------- /src/components/molecules/TextboxWithTitle/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextboxWithTitle/index.tsx -------------------------------------------------------------------------------- /src/components/molecules/TextboxWithTitle/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/molecules/TextboxWithTitle/styles.module.css -------------------------------------------------------------------------------- /src/components/organisms/BasicAside/BasicAside.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicAside/BasicAside.stories.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicAside/BasicAside.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicAside/BasicAside.test.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicAside/BasicAside.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicAside/BasicAside.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicAside/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./BasicAside"; 3 | -------------------------------------------------------------------------------- /src/components/organisms/BasicAside/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicAside/styles.module.css -------------------------------------------------------------------------------- /src/components/organisms/BasicFooter/BasicFooter.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicFooter/BasicFooter.stories.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicFooter/BasicFooter.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicFooter/BasicFooter.test.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicFooter/BasicFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicFooter/BasicFooter.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicFooter/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./BasicFooter"; 3 | -------------------------------------------------------------------------------- /src/components/organisms/BasicFooter/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicFooter/styles.module.css -------------------------------------------------------------------------------- /src/components/organisms/BasicHeader/BasicHeader.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicHeader/BasicHeader.stories.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicHeader/BasicHeader.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicHeader/BasicHeader.test.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicHeader/BasicHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicHeader/BasicHeader.tsx -------------------------------------------------------------------------------- /src/components/organisms/BasicHeader/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./BasicHeader"; 3 | -------------------------------------------------------------------------------- /src/components/organisms/BasicHeader/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/BasicHeader/styles.module.css -------------------------------------------------------------------------------- /src/components/organisms/PostForm/PostForm.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/PostForm/PostForm.stories.tsx -------------------------------------------------------------------------------- /src/components/organisms/PostForm/PostForm.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/PostForm/PostForm.test.tsx -------------------------------------------------------------------------------- /src/components/organisms/PostForm/PostForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/PostForm/PostForm.tsx -------------------------------------------------------------------------------- /src/components/organisms/PostForm/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./PostForm"; 3 | -------------------------------------------------------------------------------- /src/components/organisms/PostForm/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/PostForm/styles.module.css -------------------------------------------------------------------------------- /src/components/organisms/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/README.md -------------------------------------------------------------------------------- /src/components/organisms/UserForm/UserForm.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/UserForm/UserForm.stories.tsx -------------------------------------------------------------------------------- /src/components/organisms/UserForm/UserForm.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/UserForm/UserForm.test.tsx -------------------------------------------------------------------------------- /src/components/organisms/UserForm/UserForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/UserForm/UserForm.tsx -------------------------------------------------------------------------------- /src/components/organisms/UserForm/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./UserForm"; 3 | -------------------------------------------------------------------------------- /src/components/organisms/UserForm/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/organisms/UserForm/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/Error/Error.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Error/Error.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/Error/Error.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Error/Error.test.tsx -------------------------------------------------------------------------------- /src/components/templates/Error/Error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Error/Error.tsx -------------------------------------------------------------------------------- /src/components/templates/Error/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Error"; 3 | -------------------------------------------------------------------------------- /src/components/templates/Error/styles.module.css: -------------------------------------------------------------------------------- 1 | .module { 2 | } 3 | -------------------------------------------------------------------------------- /src/components/templates/Login/Login.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Login/Login.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/Login/Login.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Login/Login.test.tsx -------------------------------------------------------------------------------- /src/components/templates/Login/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Login/Login.tsx -------------------------------------------------------------------------------- /src/components/templates/Login/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Login"; 3 | -------------------------------------------------------------------------------- /src/components/templates/Login/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Login/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/Post/Post.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Post/Post.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/Post/Post.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Post/Post.test.tsx -------------------------------------------------------------------------------- /src/components/templates/Post/Post.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Post/Post.tsx -------------------------------------------------------------------------------- /src/components/templates/Post/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Post"; 3 | -------------------------------------------------------------------------------- /src/components/templates/Post/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Post/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/PostEdit/PostEdit.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/PostEdit/PostEdit.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/PostEdit/PostEdit.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/PostEdit/PostEdit.test.tsx -------------------------------------------------------------------------------- /src/components/templates/PostEdit/PostEdit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/PostEdit/PostEdit.tsx -------------------------------------------------------------------------------- /src/components/templates/PostEdit/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./PostEdit"; 3 | -------------------------------------------------------------------------------- /src/components/templates/PostEdit/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/PostEdit/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/Posts/Posts.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Posts/Posts.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/Posts/Posts.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Posts/Posts.test.tsx -------------------------------------------------------------------------------- /src/components/templates/Posts/Posts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Posts/Posts.tsx -------------------------------------------------------------------------------- /src/components/templates/Posts/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Posts"; 3 | -------------------------------------------------------------------------------- /src/components/templates/Posts/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Posts/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/PostsNew/PostsNew.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/PostsNew/PostsNew.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/PostsNew/PostsNew.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/PostsNew/PostsNew.test.tsx -------------------------------------------------------------------------------- /src/components/templates/PostsNew/PostsNew.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/PostsNew/PostsNew.tsx -------------------------------------------------------------------------------- /src/components/templates/PostsNew/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./PostsNew"; 3 | -------------------------------------------------------------------------------- /src/components/templates/PostsNew/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/PostsNew/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/README.md -------------------------------------------------------------------------------- /src/components/templates/Top/Panel/Panel.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Top/Panel/Panel.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/Top/Panel/Panel.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Top/Panel/Panel.test.tsx -------------------------------------------------------------------------------- /src/components/templates/Top/Panel/Panel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Top/Panel/Panel.tsx -------------------------------------------------------------------------------- /src/components/templates/Top/Panel/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Panel"; 3 | -------------------------------------------------------------------------------- /src/components/templates/Top/Panel/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Top/Panel/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/Top/Top.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Top/Top.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/Top/Top.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Top/Top.test.tsx -------------------------------------------------------------------------------- /src/components/templates/Top/Top.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Top/Top.tsx -------------------------------------------------------------------------------- /src/components/templates/Top/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Top"; 3 | -------------------------------------------------------------------------------- /src/components/templates/Top/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Top/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/User/User.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/User/User.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/User/User.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/User/User.test.tsx -------------------------------------------------------------------------------- /src/components/templates/User/User.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/User/User.tsx -------------------------------------------------------------------------------- /src/components/templates/User/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./User"; 3 | -------------------------------------------------------------------------------- /src/components/templates/User/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/User/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/UserEdit/UserEdit.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/UserEdit/UserEdit.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/UserEdit/UserEdit.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/UserEdit/UserEdit.test.tsx -------------------------------------------------------------------------------- /src/components/templates/UserEdit/UserEdit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/UserEdit/UserEdit.tsx -------------------------------------------------------------------------------- /src/components/templates/UserEdit/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./UserEdit"; 3 | -------------------------------------------------------------------------------- /src/components/templates/UserEdit/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/UserEdit/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/Users/Users.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Users/Users.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/Users/Users.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Users/Users.test.tsx -------------------------------------------------------------------------------- /src/components/templates/Users/Users.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Users/Users.tsx -------------------------------------------------------------------------------- /src/components/templates/Users/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./Users"; 3 | -------------------------------------------------------------------------------- /src/components/templates/Users/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/Users/styles.module.css -------------------------------------------------------------------------------- /src/components/templates/UsersNew/UsersNew.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/UsersNew/UsersNew.stories.tsx -------------------------------------------------------------------------------- /src/components/templates/UsersNew/UsersNew.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/UsersNew/UsersNew.test.tsx -------------------------------------------------------------------------------- /src/components/templates/UsersNew/UsersNew.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/UsersNew/UsersNew.tsx -------------------------------------------------------------------------------- /src/components/templates/UsersNew/index.tsx: -------------------------------------------------------------------------------- 1 | /* istanbul ignore next */ 2 | export * from "./UsersNew"; 3 | -------------------------------------------------------------------------------- /src/components/templates/UsersNew/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/components/templates/UsersNew/styles.module.css -------------------------------------------------------------------------------- /src/errors.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/errors.test.ts -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/lib/asserts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/asserts/index.test.ts -------------------------------------------------------------------------------- /src/lib/asserts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/asserts/index.ts -------------------------------------------------------------------------------- /src/lib/next-session/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next-session/index.ts -------------------------------------------------------------------------------- /src/lib/next/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/index.ts -------------------------------------------------------------------------------- /src/lib/next/api/middlewares/auth.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/middlewares/auth.test.ts -------------------------------------------------------------------------------- /src/lib/next/api/middlewares/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/middlewares/auth.ts -------------------------------------------------------------------------------- /src/lib/next/api/middlewares/combineHandlers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/middlewares/combineHandlers.test.ts -------------------------------------------------------------------------------- /src/lib/next/api/middlewares/combineHandlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/middlewares/combineHandlers.ts -------------------------------------------------------------------------------- /src/lib/next/api/middlewares/handle.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/middlewares/handle.test.ts -------------------------------------------------------------------------------- /src/lib/next/api/middlewares/handle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/middlewares/handle.ts -------------------------------------------------------------------------------- /src/lib/next/api/middlewares/method.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/middlewares/method.test.ts -------------------------------------------------------------------------------- /src/lib/next/api/middlewares/methods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/middlewares/methods.ts -------------------------------------------------------------------------------- /src/lib/next/api/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/api/type.ts -------------------------------------------------------------------------------- /src/lib/next/asserts.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/asserts.test.ts -------------------------------------------------------------------------------- /src/lib/next/asserts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/asserts.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/error.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/errors.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/errors.test.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/index.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/middlewares/auth.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/middlewares/auth.test.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/middlewares/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/middlewares/auth.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/middlewares/checkLogin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/middlewares/checkLogin.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/middlewares/combineGssp.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/middlewares/combineGssp.test.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/middlewares/combineGssp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/middlewares/combineGssp.ts -------------------------------------------------------------------------------- /src/lib/next/gssp/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/gssp/type.ts -------------------------------------------------------------------------------- /src/lib/next/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/lib/next/types.ts -------------------------------------------------------------------------------- /src/pages/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/README.md -------------------------------------------------------------------------------- /src/pages/_app.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/_app.page.tsx -------------------------------------------------------------------------------- /src/pages/_document.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/_document.page.tsx -------------------------------------------------------------------------------- /src/pages/api/login.api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/login.api.ts -------------------------------------------------------------------------------- /src/pages/api/login.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/login.test.ts -------------------------------------------------------------------------------- /src/pages/api/logout.api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/logout.api.ts -------------------------------------------------------------------------------- /src/pages/api/logout.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/logout.test.ts -------------------------------------------------------------------------------- /src/pages/api/posts/[id].api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/posts/[id].api.ts -------------------------------------------------------------------------------- /src/pages/api/posts/[id].test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/posts/[id].test.ts -------------------------------------------------------------------------------- /src/pages/api/posts/index.api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/posts/index.api.ts -------------------------------------------------------------------------------- /src/pages/api/posts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/posts/index.test.ts -------------------------------------------------------------------------------- /src/pages/api/users/[id].api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/users/[id].api.ts -------------------------------------------------------------------------------- /src/pages/api/users/[id].test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/users/[id].test.ts -------------------------------------------------------------------------------- /src/pages/api/users/index.api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/users/index.api.ts -------------------------------------------------------------------------------- /src/pages/api/users/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/api/users/index.test.ts -------------------------------------------------------------------------------- /src/pages/index.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/index.page.tsx -------------------------------------------------------------------------------- /src/pages/posts/[id]/edit.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/posts/[id]/edit.page.tsx -------------------------------------------------------------------------------- /src/pages/posts/[id]/edit.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/posts/[id]/edit.test.tsx -------------------------------------------------------------------------------- /src/pages/posts/[id]/index.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/posts/[id]/index.page.tsx -------------------------------------------------------------------------------- /src/pages/posts/[id]/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/posts/[id]/index.test.tsx -------------------------------------------------------------------------------- /src/pages/posts/index.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/posts/index.page.tsx -------------------------------------------------------------------------------- /src/pages/posts/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/posts/index.test.tsx -------------------------------------------------------------------------------- /src/pages/posts/new.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/posts/new.page.tsx -------------------------------------------------------------------------------- /src/pages/posts/new.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/posts/new.test.tsx -------------------------------------------------------------------------------- /src/pages/users/[id]/edit.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/users/[id]/edit.page.tsx -------------------------------------------------------------------------------- /src/pages/users/[id]/edit.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/users/[id]/edit.test.tsx -------------------------------------------------------------------------------- /src/pages/users/[id]/index.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/users/[id]/index.page.tsx -------------------------------------------------------------------------------- /src/pages/users/[id]/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/users/[id]/index.test.tsx -------------------------------------------------------------------------------- /src/pages/users/index.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/users/index.page.tsx -------------------------------------------------------------------------------- /src/pages/users/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/users/index.test.tsx -------------------------------------------------------------------------------- /src/pages/users/new.page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/users/new.page.tsx -------------------------------------------------------------------------------- /src/pages/users/new.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/pages/users/new.test.tsx -------------------------------------------------------------------------------- /src/services/README.md: -------------------------------------------------------------------------------- 1 | # services/\*.test.ts 2 | 3 | ユースケース定義ではバリデーションを確認すること。 4 | -------------------------------------------------------------------------------- /src/services/api.example.com/fetcher/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/fetcher/index.test.ts -------------------------------------------------------------------------------- /src/services/api.example.com/fetcher/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/fetcher/index.ts -------------------------------------------------------------------------------- /src/services/api.example.com/fetcher/mock.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/fetcher/mock.test.ts -------------------------------------------------------------------------------- /src/services/api.example.com/fetcher/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/fetcher/mock.ts -------------------------------------------------------------------------------- /src/services/api.example.com/fetcher/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/fetcher/type.ts -------------------------------------------------------------------------------- /src/services/api.example.com/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/index.ts -------------------------------------------------------------------------------- /src/services/api.example.com/posts/[id]/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/posts/[id]/index.test.ts -------------------------------------------------------------------------------- /src/services/api.example.com/posts/[id]/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/posts/[id]/index.ts -------------------------------------------------------------------------------- /src/services/api.example.com/posts/[id]/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/posts/[id]/mock.ts -------------------------------------------------------------------------------- /src/services/api.example.com/posts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/posts/index.test.ts -------------------------------------------------------------------------------- /src/services/api.example.com/posts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/posts/index.ts -------------------------------------------------------------------------------- /src/services/api.example.com/posts/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/posts/mock.ts -------------------------------------------------------------------------------- /src/services/api.example.com/posts/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/posts/schema.ts -------------------------------------------------------------------------------- /src/services/api.example.com/posts/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/posts/type.ts -------------------------------------------------------------------------------- /src/services/api.example.com/users/[id]/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/users/[id]/index.test.ts -------------------------------------------------------------------------------- /src/services/api.example.com/users/[id]/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/users/[id]/index.ts -------------------------------------------------------------------------------- /src/services/api.example.com/users/[id]/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/users/[id]/mock.ts -------------------------------------------------------------------------------- /src/services/api.example.com/users/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/users/index.test.ts -------------------------------------------------------------------------------- /src/services/api.example.com/users/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/users/index.ts -------------------------------------------------------------------------------- /src/services/api.example.com/users/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/users/mock.ts -------------------------------------------------------------------------------- /src/services/api.example.com/users/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/users/schema.ts -------------------------------------------------------------------------------- /src/services/api.example.com/users/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api.example.com/users/type.ts -------------------------------------------------------------------------------- /src/services/api/fetcher/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/fetcher/index.test.ts -------------------------------------------------------------------------------- /src/services/api/fetcher/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/fetcher/index.ts -------------------------------------------------------------------------------- /src/services/api/fetcher/mock.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/fetcher/mock.test.ts -------------------------------------------------------------------------------- /src/services/api/fetcher/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/fetcher/mock.ts -------------------------------------------------------------------------------- /src/services/api/fetcher/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/fetcher/type.ts -------------------------------------------------------------------------------- /src/services/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/index.ts -------------------------------------------------------------------------------- /src/services/api/login/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/login/index.test.ts -------------------------------------------------------------------------------- /src/services/api/login/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/login/index.ts -------------------------------------------------------------------------------- /src/services/api/login/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/login/mock.ts -------------------------------------------------------------------------------- /src/services/api/login/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/login/schema.ts -------------------------------------------------------------------------------- /src/services/api/login/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/login/type.ts -------------------------------------------------------------------------------- /src/services/api/logout/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/logout/index.ts -------------------------------------------------------------------------------- /src/services/api/logout/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/logout/mock.ts -------------------------------------------------------------------------------- /src/services/api/logout/type.ts: -------------------------------------------------------------------------------- 1 | export type LogoutData = { 2 | message: string; 3 | }; 4 | -------------------------------------------------------------------------------- /src/services/api/posts/[id]/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/posts/[id]/index.test.ts -------------------------------------------------------------------------------- /src/services/api/posts/[id]/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/posts/[id]/index.ts -------------------------------------------------------------------------------- /src/services/api/posts/[id]/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/posts/[id]/mock.ts -------------------------------------------------------------------------------- /src/services/api/posts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/posts/index.test.ts -------------------------------------------------------------------------------- /src/services/api/posts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/posts/index.ts -------------------------------------------------------------------------------- /src/services/api/posts/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/posts/mock.ts -------------------------------------------------------------------------------- /src/services/api/posts/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/posts/schema.ts -------------------------------------------------------------------------------- /src/services/api/posts/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/posts/type.ts -------------------------------------------------------------------------------- /src/services/api/users/[id]/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/users/[id]/index.test.ts -------------------------------------------------------------------------------- /src/services/api/users/[id]/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/users/[id]/index.ts -------------------------------------------------------------------------------- /src/services/api/users/[id]/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/users/[id]/mock.ts -------------------------------------------------------------------------------- /src/services/api/users/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/users/index.test.ts -------------------------------------------------------------------------------- /src/services/api/users/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/users/index.ts -------------------------------------------------------------------------------- /src/services/api/users/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/users/mock.ts -------------------------------------------------------------------------------- /src/services/api/users/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/users/schema.ts -------------------------------------------------------------------------------- /src/services/api/users/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/services/api/users/type.ts -------------------------------------------------------------------------------- /src/tests/jest.customMatchers.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/jest.customMatchers.test.tsx -------------------------------------------------------------------------------- /src/tests/jest.customMatchers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/jest.customMatchers.ts -------------------------------------------------------------------------------- /src/tests/jest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/jest.ts -------------------------------------------------------------------------------- /src/tests/mock/browser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/mock/browser.ts -------------------------------------------------------------------------------- /src/tests/mock/crypto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/mock/crypto.ts -------------------------------------------------------------------------------- /src/tests/mock/handlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/mock/handlers.ts -------------------------------------------------------------------------------- /src/tests/mock/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/mock/index.tsx -------------------------------------------------------------------------------- /src/tests/mock/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/mock/server.ts -------------------------------------------------------------------------------- /src/tests/storybook.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/src/tests/storybook.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takefumi-yoshii/nextjs-testing-strategy-2022/HEAD/yarn.lock --------------------------------------------------------------------------------