├── .env ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── index.html ├── json-server.json ├── package.json ├── postcss.config.js ├── public ├── json-server │ └── index.html └── vite.svg ├── src ├── App.css ├── App.tsx ├── assets │ └── react.svg ├── components │ ├── AuthStatus.tsx │ ├── CancelOrderButton.tsx │ ├── CategoryList.tsx │ ├── CategorySelect.tsx │ ├── ErrorMessage.tsx │ ├── ExpandableText.tsx │ ├── Greet.tsx │ ├── Label.tsx │ ├── LanguageSelector.tsx │ ├── LoginButton.tsx │ ├── LogoutButton.tsx │ ├── NavBar.tsx │ ├── Onboarding.tsx │ ├── OrderStatusSelector.tsx │ ├── PrivateRoutes.tsx │ ├── ProductDetail.tsx │ ├── ProductForm.tsx │ ├── ProductImageGallery.tsx │ ├── ProductList.tsx │ ├── ProductTable.tsx │ ├── QuantitySelector.tsx │ ├── SearchBox.tsx │ ├── TagList.tsx │ ├── TermsAndConditions.tsx │ ├── ToastDemo.tsx │ ├── UserAccount.tsx │ ├── UserList.tsx │ └── UserTable.tsx ├── data │ └── db.json ├── entities.ts ├── environment.d.ts ├── hooks │ ├── useCart.ts │ ├── useCategories.ts │ ├── useLanguage.ts │ └── useProduct.ts ├── index.css ├── main.tsx ├── pages │ ├── BrowseProductsPage.tsx │ ├── ErrorPage.tsx │ ├── HomePage.tsx │ ├── Layout.tsx │ ├── PlaygroundPage.tsx │ ├── ProductDetailPage.tsx │ ├── ProductListPage.tsx │ └── admin │ │ ├── AdminHomePage.tsx │ │ ├── AdminLayout.tsx │ │ ├── EditProductPage.tsx │ │ ├── NewProductPage.tsx │ │ └── ProductListPage.tsx ├── providers │ ├── AuthProvider.tsx │ ├── CartProvider.tsx │ ├── ReactQueryProvider.tsx │ ├── index.tsx │ └── language │ │ ├── LanguageContext.ts │ │ ├── LanguageProvider.tsx │ │ ├── data │ │ ├── en.json │ │ └── es.json │ │ └── type.ts ├── routes.tsx ├── validationSchemas │ └── productSchema.ts └── vite-env.d.ts ├── tailwind.config.ts ├── tests ├── AllProviders.tsx ├── Router.test.tsx ├── components │ ├── AuthStatus.test.tsx │ ├── CategoryList.test.tsx │ ├── ExpandableText.test.tsx │ ├── Greet.test.tsx │ ├── Label.test.tsx │ ├── OrderStatusSelector.test.tsx │ ├── ProductDetail.test.tsx │ ├── ProductForm.test.tsx │ ├── ProductImageGallery.test.tsx │ ├── ProductList.test.tsx │ ├── QuantitySelector.test.tsx │ ├── SearchBox.test.tsx │ ├── TagList.test.tsx │ ├── TermsAndConditions.test.tsx │ ├── ToastDemo.test.tsx │ ├── UserAccount.test.tsx │ └── UserList.test.tsx ├── main.test.ts ├── mocks │ ├── db.ts │ ├── handlers.ts │ └── server.ts ├── pages │ ├── BrowseProductsPage.test.tsx │ └── ProductDetailPage.test.tsx ├── setup.ts └── utils.tsx ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts └── vitest.config.ts /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/.env -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/index.html -------------------------------------------------------------------------------- /json-server.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/json-server.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/json-server/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/public/json-server/index.html -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/public/vite.svg -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/assets/react.svg -------------------------------------------------------------------------------- /src/components/AuthStatus.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/AuthStatus.tsx -------------------------------------------------------------------------------- /src/components/CancelOrderButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/CancelOrderButton.tsx -------------------------------------------------------------------------------- /src/components/CategoryList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/CategoryList.tsx -------------------------------------------------------------------------------- /src/components/CategorySelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/CategorySelect.tsx -------------------------------------------------------------------------------- /src/components/ErrorMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/ErrorMessage.tsx -------------------------------------------------------------------------------- /src/components/ExpandableText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/ExpandableText.tsx -------------------------------------------------------------------------------- /src/components/Greet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/Greet.tsx -------------------------------------------------------------------------------- /src/components/Label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/Label.tsx -------------------------------------------------------------------------------- /src/components/LanguageSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/LanguageSelector.tsx -------------------------------------------------------------------------------- /src/components/LoginButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/LoginButton.tsx -------------------------------------------------------------------------------- /src/components/LogoutButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/LogoutButton.tsx -------------------------------------------------------------------------------- /src/components/NavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/NavBar.tsx -------------------------------------------------------------------------------- /src/components/Onboarding.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/Onboarding.tsx -------------------------------------------------------------------------------- /src/components/OrderStatusSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/OrderStatusSelector.tsx -------------------------------------------------------------------------------- /src/components/PrivateRoutes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/PrivateRoutes.tsx -------------------------------------------------------------------------------- /src/components/ProductDetail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/ProductDetail.tsx -------------------------------------------------------------------------------- /src/components/ProductForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/ProductForm.tsx -------------------------------------------------------------------------------- /src/components/ProductImageGallery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/ProductImageGallery.tsx -------------------------------------------------------------------------------- /src/components/ProductList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/ProductList.tsx -------------------------------------------------------------------------------- /src/components/ProductTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/ProductTable.tsx -------------------------------------------------------------------------------- /src/components/QuantitySelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/QuantitySelector.tsx -------------------------------------------------------------------------------- /src/components/SearchBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/SearchBox.tsx -------------------------------------------------------------------------------- /src/components/TagList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/TagList.tsx -------------------------------------------------------------------------------- /src/components/TermsAndConditions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/TermsAndConditions.tsx -------------------------------------------------------------------------------- /src/components/ToastDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/ToastDemo.tsx -------------------------------------------------------------------------------- /src/components/UserAccount.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/UserAccount.tsx -------------------------------------------------------------------------------- /src/components/UserList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/UserList.tsx -------------------------------------------------------------------------------- /src/components/UserTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/components/UserTable.tsx -------------------------------------------------------------------------------- /src/data/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/data/db.json -------------------------------------------------------------------------------- /src/entities.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/entities.ts -------------------------------------------------------------------------------- /src/environment.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/environment.d.ts -------------------------------------------------------------------------------- /src/hooks/useCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/hooks/useCart.ts -------------------------------------------------------------------------------- /src/hooks/useCategories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/hooks/useCategories.ts -------------------------------------------------------------------------------- /src/hooks/useLanguage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/hooks/useLanguage.ts -------------------------------------------------------------------------------- /src/hooks/useProduct.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/hooks/useProduct.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/index.css -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/pages/BrowseProductsPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/BrowseProductsPage.tsx -------------------------------------------------------------------------------- /src/pages/ErrorPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/ErrorPage.tsx -------------------------------------------------------------------------------- /src/pages/HomePage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/HomePage.tsx -------------------------------------------------------------------------------- /src/pages/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/Layout.tsx -------------------------------------------------------------------------------- /src/pages/PlaygroundPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/PlaygroundPage.tsx -------------------------------------------------------------------------------- /src/pages/ProductDetailPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/ProductDetailPage.tsx -------------------------------------------------------------------------------- /src/pages/ProductListPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/ProductListPage.tsx -------------------------------------------------------------------------------- /src/pages/admin/AdminHomePage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/admin/AdminHomePage.tsx -------------------------------------------------------------------------------- /src/pages/admin/AdminLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/admin/AdminLayout.tsx -------------------------------------------------------------------------------- /src/pages/admin/EditProductPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/admin/EditProductPage.tsx -------------------------------------------------------------------------------- /src/pages/admin/NewProductPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/admin/NewProductPage.tsx -------------------------------------------------------------------------------- /src/pages/admin/ProductListPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/pages/admin/ProductListPage.tsx -------------------------------------------------------------------------------- /src/providers/AuthProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/providers/AuthProvider.tsx -------------------------------------------------------------------------------- /src/providers/CartProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/providers/CartProvider.tsx -------------------------------------------------------------------------------- /src/providers/ReactQueryProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/providers/ReactQueryProvider.tsx -------------------------------------------------------------------------------- /src/providers/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/providers/index.tsx -------------------------------------------------------------------------------- /src/providers/language/LanguageContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/providers/language/LanguageContext.ts -------------------------------------------------------------------------------- /src/providers/language/LanguageProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/providers/language/LanguageProvider.tsx -------------------------------------------------------------------------------- /src/providers/language/data/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/providers/language/data/en.json -------------------------------------------------------------------------------- /src/providers/language/data/es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/providers/language/data/es.json -------------------------------------------------------------------------------- /src/providers/language/type.ts: -------------------------------------------------------------------------------- 1 | export type Language = "en" | "es"; 2 | -------------------------------------------------------------------------------- /src/routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/routes.tsx -------------------------------------------------------------------------------- /src/validationSchemas/productSchema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/src/validationSchemas/productSchema.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tests/AllProviders.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/AllProviders.tsx -------------------------------------------------------------------------------- /tests/Router.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/Router.test.tsx -------------------------------------------------------------------------------- /tests/components/AuthStatus.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/AuthStatus.test.tsx -------------------------------------------------------------------------------- /tests/components/CategoryList.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/CategoryList.test.tsx -------------------------------------------------------------------------------- /tests/components/ExpandableText.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/ExpandableText.test.tsx -------------------------------------------------------------------------------- /tests/components/Greet.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/Greet.test.tsx -------------------------------------------------------------------------------- /tests/components/Label.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/Label.test.tsx -------------------------------------------------------------------------------- /tests/components/OrderStatusSelector.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/OrderStatusSelector.test.tsx -------------------------------------------------------------------------------- /tests/components/ProductDetail.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/ProductDetail.test.tsx -------------------------------------------------------------------------------- /tests/components/ProductForm.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/ProductForm.test.tsx -------------------------------------------------------------------------------- /tests/components/ProductImageGallery.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/ProductImageGallery.test.tsx -------------------------------------------------------------------------------- /tests/components/ProductList.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/ProductList.test.tsx -------------------------------------------------------------------------------- /tests/components/QuantitySelector.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/QuantitySelector.test.tsx -------------------------------------------------------------------------------- /tests/components/SearchBox.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/SearchBox.test.tsx -------------------------------------------------------------------------------- /tests/components/TagList.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/TagList.test.tsx -------------------------------------------------------------------------------- /tests/components/TermsAndConditions.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/TermsAndConditions.test.tsx -------------------------------------------------------------------------------- /tests/components/ToastDemo.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/ToastDemo.test.tsx -------------------------------------------------------------------------------- /tests/components/UserAccount.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/UserAccount.test.tsx -------------------------------------------------------------------------------- /tests/components/UserList.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/components/UserList.test.tsx -------------------------------------------------------------------------------- /tests/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/main.test.ts -------------------------------------------------------------------------------- /tests/mocks/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/mocks/db.ts -------------------------------------------------------------------------------- /tests/mocks/handlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/mocks/handlers.ts -------------------------------------------------------------------------------- /tests/mocks/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/mocks/server.ts -------------------------------------------------------------------------------- /tests/pages/BrowseProductsPage.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/pages/BrowseProductsPage.test.tsx -------------------------------------------------------------------------------- /tests/pages/ProductDetailPage.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/pages/ProductDetailPage.test.tsx -------------------------------------------------------------------------------- /tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/setup.ts -------------------------------------------------------------------------------- /tests/utils.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tests/utils.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mosh-hamedani/react-testing-finish/HEAD/vitest.config.ts --------------------------------------------------------------------------------