├── Chapter01 ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt └── src │ ├── App.js │ ├── Login.js │ ├── Login.test.js │ ├── Profile.js │ ├── Profile.test.js │ ├── ProfileDOMTestingLib.test.js │ ├── ProfileTestJestDom.test.js │ ├── Sample.test.js │ ├── index.css │ ├── index.js │ ├── serviceWorker.js │ └── setupTests.js ├── Chapter02 ├── .gitignore ├── .prettierignore ├── .prettierrc ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt └── src │ ├── App.js │ ├── Jumbotron.js │ ├── Jumbotron.test.js │ ├── Table.js │ ├── Table.test.js │ ├── Travel.js │ ├── Travel.test.js │ ├── index.js │ ├── mocks │ └── employees.js │ ├── serviceWorker.js │ └── setupTests.js ├── Chapter03 ├── .gitignore ├── .prettierignore ├── .prettierrc ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ ├── mockServiceWorker.js │ └── robots.txt └── src │ ├── App.js │ ├── App.test.js │ ├── DrinkSearch.js │ ├── DrinkSearch.test.js │ ├── EmployeeEmail.js │ ├── EmployeeEmail.test.js │ ├── Register.js │ ├── Register.test.js │ ├── RegisterClass.js │ ├── Vote.js │ ├── Vote.test.js │ ├── Vote2.js │ ├── VoteBtn.js │ ├── VoteBtn.test.js │ ├── api │ └── fetchDrinks.js │ ├── images │ ├── thumbs-down.svg │ └── thumbs-up.svg │ ├── index.js │ ├── mocks │ ├── browser.js │ ├── handlers.js │ └── server.js │ ├── reportWebVitals.js │ └── setupTests.js ├── Chapter04 ├── ch_04_context │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ └── src │ │ ├── App.js │ │ ├── Cart.js │ │ ├── Cart.test.js │ │ ├── LikesContext.js │ │ ├── Product.js │ │ ├── Product.test.js │ │ ├── ProductDetail.js │ │ ├── ProductDetail.test.js │ │ ├── ProductList.js │ │ ├── ProductList.test.js │ │ ├── Retail.js │ │ ├── Retail.test.js │ │ ├── RetailContext.js │ │ ├── Vote.js │ │ ├── Vote.test.js │ │ ├── VoteBtn.js │ │ ├── api │ │ └── retailProducts.js │ │ ├── images │ │ ├── backpack.jpg │ │ ├── bracelet.jpg │ │ ├── jacket.jpg │ │ ├── long-sleeve.jpg │ │ ├── short-sleeve.jpg │ │ ├── thumbs-down.svg │ │ └── thumbs-up.svg │ │ ├── index.js │ │ ├── mocks │ │ └── fakeProducts.js │ │ ├── reportWebVitals.js │ │ └── setupTests.js ├── ch_04_graphql │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── server │ │ ├── .gitignore │ │ ├── index.js │ │ ├── package-lock.json │ │ └── package.json │ └── src │ │ ├── App.js │ │ ├── App.test.js │ │ ├── Row.js │ │ ├── Table.js │ │ ├── Table.test.js │ │ ├── index.js │ │ ├── reportWebVitals.js │ │ └── setupTests.js ├── ch_04_integrated │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ └── src │ │ ├── App.js │ │ ├── DrinkForm.js │ │ ├── DrinkResults.js │ │ ├── DrinkSearch.js │ │ ├── DrinkSearch.test.js │ │ ├── Row.js │ │ ├── Table.js │ │ ├── Table.test.js │ │ ├── Vote.js │ │ ├── Vote.test.js │ │ ├── VoteBtn.js │ │ ├── api │ │ └── fetchDrinks.js │ │ ├── images │ │ ├── thumbs-down.svg │ │ └── thumbs-up.svg │ │ ├── index.js │ │ ├── mocks │ │ ├── employees.js │ │ └── server.js │ │ ├── reportWebVitals.js │ │ └── setupTests.js ├── ch_04_mui │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ └── src │ │ ├── App.js │ │ ├── App.test.js │ │ ├── CustomerTable.js │ │ ├── CustomerTable.test.js │ │ ├── Vote.js │ │ ├── Vote.test.js │ │ ├── data │ │ └── customerData.json │ │ ├── index.js │ │ ├── reportWebVitals.js │ │ └── setupTests.js └── ch_04_redux │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ └── src │ ├── App.js │ ├── App.test.js │ ├── Cart.js │ ├── Cart.test.js │ ├── Product.js │ ├── Product.test.js │ ├── ProductDetail.js │ ├── ProductDetail.test.js │ ├── ProductList.js │ ├── ProductList.test.js │ ├── Retail.js │ ├── Retail.test.js │ ├── app │ ├── products.js │ └── store.js │ ├── images │ ├── backpack.jpg │ ├── bracelet.jpg │ ├── jacket.jpg │ ├── long-sleeve.jpg │ ├── short-sleeve.jpg │ ├── thumbs-down.svg │ └── thumbs-up.svg │ ├── index.js │ ├── retailSlice.js │ ├── serviceWorker.js │ ├── setupTests.js │ └── utils │ └── test-utils.js ├── Chapter05 ├── example_1_final │ ├── .eslintrc.json │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ └── src │ │ ├── components │ │ ├── App.js │ │ ├── App.test.js │ │ ├── Budget.js │ │ ├── BudgetList.js │ │ ├── BudgetSummary.js │ │ ├── Chart.js │ │ ├── CreateNewBudget.js │ │ └── SetIncome.js │ │ ├── data │ │ └── categories.js │ │ ├── index.js │ │ ├── registerServiceWorker.js │ │ └── setupTests.js ├── example_1_starter │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ └── src │ │ ├── components │ │ ├── App.js │ │ ├── App.test.js │ │ ├── Budget.js │ │ ├── Budget.test.js │ │ ├── BudgetList.js │ │ ├── BudgetList.test.js │ │ ├── BudgetSummary.js │ │ ├── BudgetSummary.test.js │ │ ├── Chart.js │ │ ├── Chart.test.js │ │ ├── CreateNewBudget.js │ │ ├── CreateNewBudget.test.js │ │ ├── SetIncome.js │ │ └── SetIncome.test.js │ │ ├── data │ │ └── categories.js │ │ ├── index.js │ │ └── registerServiceWorker.js ├── example_2_starter │ ├── .eslintrc.json │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ └── src │ │ ├── components │ │ ├── App.js │ │ ├── App.test.js │ │ ├── Budget.js │ │ ├── BudgetList.js │ │ ├── BudgetSummary.js │ │ ├── Chart.js │ │ ├── CreateNewBudget.js │ │ └── SetIncome.js │ │ ├── data │ │ └── categories.js │ │ ├── index.js │ │ ├── registerServiceWorker.js │ │ └── setupTests.js ├── feedback_final │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── craco.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.js │ │ ├── App.test.js │ │ ├── Feedback.js │ │ ├── index.css │ │ ├── index.js │ │ ├── reportWebVitals.js │ │ └── setupTests.js │ └── tailwind.config.js └── feedback_starter │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── craco.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.js │ ├── App.test.js │ ├── Feedback.js │ ├── index.css │ ├── index.js │ ├── reportWebVitals.js │ └── setupTests.js │ └── tailwind.config.js ├── Chapter06 ├── .eslintrc.json ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .vscode │ └── extensions.json ├── README.md ├── example.js ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt └── src │ ├── App.js │ ├── LanguageCheckBox.js │ ├── LanguageCheckBox.test.js │ ├── LanguageDropdown.js │ ├── LanguageDropdown.test.js │ ├── MoreInfoPopover.js │ ├── MoreInfoPopover.test.js │ ├── NoAccessibility.js │ ├── NoAccessibility.test.js │ ├── image │ └── login.png │ ├── index.js │ ├── reportWebVitals.js │ └── setupTests.js ├── Chapter07 ├── my-blog │ ├── .eslintrc.json │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── components │ │ ├── CustomHead.js │ │ ├── Footer.js │ │ └── Nav.js │ ├── cypress.json │ ├── cypress │ │ ├── e2e │ │ │ ├── api.spec.js │ │ │ ├── blogFlow.feature │ │ │ ├── blogFlow.spec.js │ │ │ ├── blogFlow │ │ │ │ └── blogFlow.spec.js │ │ │ └── pages │ │ │ │ ├── AddPage.js │ │ │ │ ├── HomePage.js │ │ │ │ └── PostDetailPage.js │ │ ├── fixtures │ │ │ └── example.json │ │ ├── plugins │ │ │ └── index.js │ │ └── support │ │ │ ├── commands.js │ │ │ ├── generateBlogPost.js │ │ │ └── index.js │ ├── db │ │ └── mongoose.js │ ├── jsconfig.json │ ├── next.config.js │ ├── package-lock.json │ ├── package.json │ ├── pages │ │ ├── _app.js │ │ ├── _document.js │ │ ├── add.js │ │ ├── api │ │ │ ├── add.js │ │ │ ├── delete │ │ │ │ └── [id].js │ │ │ ├── post │ │ │ │ └── [id].js │ │ │ └── posts.js │ │ ├── index.js │ │ └── post │ │ │ └── [id].js │ ├── postcss.config.js │ ├── public │ │ └── logo.png │ ├── tailwind.config.js │ └── utils │ │ └── getCurrentDate.js └── start_cypress │ ├── .eslintrc.json │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── .vscode │ └── extensions.json │ ├── README.md │ ├── cypress.json │ ├── cypress │ ├── e2e │ │ ├── checkOutFlow.spec.js │ │ └── examples │ │ │ ├── actions.spec.js │ │ │ ├── aliasing.spec.js │ │ │ ├── assertions.spec.js │ │ │ ├── connectors.spec.js │ │ │ ├── cookies.spec.js │ │ │ ├── cypress_api.spec.js │ │ │ ├── files.spec.js │ │ │ ├── local_storage.spec.js │ │ │ ├── location.spec.js │ │ │ ├── misc.spec.js │ │ │ ├── navigation.spec.js │ │ │ ├── network_requests.spec.js │ │ │ ├── querying.spec.js │ │ │ ├── spies_stubs_clocks.spec.js │ │ │ ├── traversal.spec.js │ │ │ ├── utilities.spec.js │ │ │ ├── viewport.spec.js │ │ │ ├── waiting.spec.js │ │ │ └── window.spec.js │ ├── fixtures │ │ └── example.json │ ├── plugins │ │ └── index.js │ └── support │ │ ├── commands.js │ │ ├── index.js │ │ └── user.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ └── src │ ├── AddressForm.js │ ├── App.js │ ├── App.test.js │ ├── Checkout.js │ ├── PaymentForm.js │ ├── Review.js │ ├── index.js │ ├── reportWebVitals.js │ └── setupTests.js ├── LICENSE └── README.md /Chapter01/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/.gitignore -------------------------------------------------------------------------------- /Chapter01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/README.md -------------------------------------------------------------------------------- /Chapter01/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/package-lock.json -------------------------------------------------------------------------------- /Chapter01/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/package.json -------------------------------------------------------------------------------- /Chapter01/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/public/favicon.ico -------------------------------------------------------------------------------- /Chapter01/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/public/index.html -------------------------------------------------------------------------------- /Chapter01/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/public/logo192.png -------------------------------------------------------------------------------- /Chapter01/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/public/logo512.png -------------------------------------------------------------------------------- /Chapter01/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/public/manifest.json -------------------------------------------------------------------------------- /Chapter01/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/public/robots.txt -------------------------------------------------------------------------------- /Chapter01/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/App.js -------------------------------------------------------------------------------- /Chapter01/src/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/Login.js -------------------------------------------------------------------------------- /Chapter01/src/Login.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/Login.test.js -------------------------------------------------------------------------------- /Chapter01/src/Profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/Profile.js -------------------------------------------------------------------------------- /Chapter01/src/Profile.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/Profile.test.js -------------------------------------------------------------------------------- /Chapter01/src/ProfileDOMTestingLib.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/ProfileDOMTestingLib.test.js -------------------------------------------------------------------------------- /Chapter01/src/ProfileTestJestDom.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/ProfileTestJestDom.test.js -------------------------------------------------------------------------------- /Chapter01/src/Sample.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/Sample.test.js -------------------------------------------------------------------------------- /Chapter01/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/index.css -------------------------------------------------------------------------------- /Chapter01/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/index.js -------------------------------------------------------------------------------- /Chapter01/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/serviceWorker.js -------------------------------------------------------------------------------- /Chapter01/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter01/src/setupTests.js -------------------------------------------------------------------------------- /Chapter02/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/.gitignore -------------------------------------------------------------------------------- /Chapter02/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter02/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/.prettierrc -------------------------------------------------------------------------------- /Chapter02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/README.md -------------------------------------------------------------------------------- /Chapter02/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/package-lock.json -------------------------------------------------------------------------------- /Chapter02/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/package.json -------------------------------------------------------------------------------- /Chapter02/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/public/favicon.ico -------------------------------------------------------------------------------- /Chapter02/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/public/index.html -------------------------------------------------------------------------------- /Chapter02/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/public/logo192.png -------------------------------------------------------------------------------- /Chapter02/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/public/logo512.png -------------------------------------------------------------------------------- /Chapter02/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/public/manifest.json -------------------------------------------------------------------------------- /Chapter02/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/public/robots.txt -------------------------------------------------------------------------------- /Chapter02/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/App.js -------------------------------------------------------------------------------- /Chapter02/src/Jumbotron.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/Jumbotron.js -------------------------------------------------------------------------------- /Chapter02/src/Jumbotron.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/Jumbotron.test.js -------------------------------------------------------------------------------- /Chapter02/src/Table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/Table.js -------------------------------------------------------------------------------- /Chapter02/src/Table.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/Table.test.js -------------------------------------------------------------------------------- /Chapter02/src/Travel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/Travel.js -------------------------------------------------------------------------------- /Chapter02/src/Travel.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/Travel.test.js -------------------------------------------------------------------------------- /Chapter02/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/index.js -------------------------------------------------------------------------------- /Chapter02/src/mocks/employees.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/mocks/employees.js -------------------------------------------------------------------------------- /Chapter02/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/serviceWorker.js -------------------------------------------------------------------------------- /Chapter02/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter02/src/setupTests.js -------------------------------------------------------------------------------- /Chapter03/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/.gitignore -------------------------------------------------------------------------------- /Chapter03/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter03/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/.prettierrc -------------------------------------------------------------------------------- /Chapter03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/README.md -------------------------------------------------------------------------------- /Chapter03/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/package-lock.json -------------------------------------------------------------------------------- /Chapter03/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/package.json -------------------------------------------------------------------------------- /Chapter03/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/public/favicon.ico -------------------------------------------------------------------------------- /Chapter03/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/public/index.html -------------------------------------------------------------------------------- /Chapter03/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/public/logo192.png -------------------------------------------------------------------------------- /Chapter03/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/public/logo512.png -------------------------------------------------------------------------------- /Chapter03/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/public/manifest.json -------------------------------------------------------------------------------- /Chapter03/public/mockServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/public/mockServiceWorker.js -------------------------------------------------------------------------------- /Chapter03/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/public/robots.txt -------------------------------------------------------------------------------- /Chapter03/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/App.js -------------------------------------------------------------------------------- /Chapter03/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/App.test.js -------------------------------------------------------------------------------- /Chapter03/src/DrinkSearch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/DrinkSearch.js -------------------------------------------------------------------------------- /Chapter03/src/DrinkSearch.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/DrinkSearch.test.js -------------------------------------------------------------------------------- /Chapter03/src/EmployeeEmail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/EmployeeEmail.js -------------------------------------------------------------------------------- /Chapter03/src/EmployeeEmail.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/EmployeeEmail.test.js -------------------------------------------------------------------------------- /Chapter03/src/Register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/Register.js -------------------------------------------------------------------------------- /Chapter03/src/Register.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/Register.test.js -------------------------------------------------------------------------------- /Chapter03/src/RegisterClass.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/RegisterClass.js -------------------------------------------------------------------------------- /Chapter03/src/Vote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/Vote.js -------------------------------------------------------------------------------- /Chapter03/src/Vote.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/Vote.test.js -------------------------------------------------------------------------------- /Chapter03/src/Vote2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/Vote2.js -------------------------------------------------------------------------------- /Chapter03/src/VoteBtn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/VoteBtn.js -------------------------------------------------------------------------------- /Chapter03/src/VoteBtn.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/VoteBtn.test.js -------------------------------------------------------------------------------- /Chapter03/src/api/fetchDrinks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/api/fetchDrinks.js -------------------------------------------------------------------------------- /Chapter03/src/images/thumbs-down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/images/thumbs-down.svg -------------------------------------------------------------------------------- /Chapter03/src/images/thumbs-up.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/images/thumbs-up.svg -------------------------------------------------------------------------------- /Chapter03/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/index.js -------------------------------------------------------------------------------- /Chapter03/src/mocks/browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/mocks/browser.js -------------------------------------------------------------------------------- /Chapter03/src/mocks/handlers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/mocks/handlers.js -------------------------------------------------------------------------------- /Chapter03/src/mocks/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/mocks/server.js -------------------------------------------------------------------------------- /Chapter03/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter03/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter03/src/setupTests.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/.gitignore -------------------------------------------------------------------------------- /Chapter04/ch_04_context/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter04/ch_04_context/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/.prettierrc -------------------------------------------------------------------------------- /Chapter04/ch_04_context/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/README.md -------------------------------------------------------------------------------- /Chapter04/ch_04_context/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/package-lock.json -------------------------------------------------------------------------------- /Chapter04/ch_04_context/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/package.json -------------------------------------------------------------------------------- /Chapter04/ch_04_context/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/public/favicon.ico -------------------------------------------------------------------------------- /Chapter04/ch_04_context/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/public/index.html -------------------------------------------------------------------------------- /Chapter04/ch_04_context/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/public/logo192.png -------------------------------------------------------------------------------- /Chapter04/ch_04_context/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/public/logo512.png -------------------------------------------------------------------------------- /Chapter04/ch_04_context/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/public/manifest.json -------------------------------------------------------------------------------- /Chapter04/ch_04_context/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/public/robots.txt -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/App.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/Cart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/Cart.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/Cart.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/Cart.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/LikesContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/LikesContext.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/Product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/Product.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/Product.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/Product.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/ProductDetail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/ProductDetail.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/ProductDetail.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/ProductDetail.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/ProductList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/ProductList.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/ProductList.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/ProductList.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/Retail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/Retail.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/Retail.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/Retail.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/RetailContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/RetailContext.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/Vote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/Vote.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/Vote.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/Vote.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/VoteBtn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/VoteBtn.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/api/retailProducts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/api/retailProducts.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/images/backpack.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/images/backpack.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/images/bracelet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/images/bracelet.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/images/jacket.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/images/jacket.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/images/long-sleeve.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/images/long-sleeve.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/images/short-sleeve.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/images/short-sleeve.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/images/thumbs-down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/images/thumbs-down.svg -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/images/thumbs-up.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/images/thumbs-up.svg -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/index.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/mocks/fakeProducts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/mocks/fakeProducts.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter04/ch_04_context/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_context/src/setupTests.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/.gitignore -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/.prettierrc -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/README.md -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/package-lock.json -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/package.json -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/public/favicon.ico -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/public/index.html -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/public/logo192.png -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/public/logo512.png -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/public/manifest.json -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/public/robots.txt -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/server/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/server/index.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/server/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/server/package-lock.json -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/server/package.json -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/src/App.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/src/App.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/src/Row.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/src/Row.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/src/Table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/src/Table.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/src/Table.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/src/Table.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/src/index.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter04/ch_04_graphql/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_graphql/src/setupTests.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/.gitignore -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/.prettierrc -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/README.md -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/package-lock.json -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/package.json -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/public/favicon.ico -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/public/index.html -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/public/logo192.png -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/public/logo512.png -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/public/manifest.json -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/public/robots.txt -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/App.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/DrinkForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/DrinkForm.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/DrinkResults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/DrinkResults.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/DrinkSearch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/DrinkSearch.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/DrinkSearch.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/DrinkSearch.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/Row.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/Row.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/Table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/Table.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/Table.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/Table.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/Vote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/Vote.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/Vote.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/Vote.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/VoteBtn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/VoteBtn.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/api/fetchDrinks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/api/fetchDrinks.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/images/thumbs-down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/images/thumbs-down.svg -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/images/thumbs-up.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/images/thumbs-up.svg -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/index.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/mocks/employees.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/mocks/employees.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/mocks/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/mocks/server.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter04/ch_04_integrated/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_integrated/src/setupTests.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/.gitignore -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/.prettierrc -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/README.md -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/package-lock.json -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/package.json -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/public/favicon.ico -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/public/index.html -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/public/logo192.png -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/public/logo512.png -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/public/manifest.json -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/public/robots.txt -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/App.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/App.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/CustomerTable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/CustomerTable.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/CustomerTable.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/CustomerTable.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/Vote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/Vote.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/Vote.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/Vote.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/data/customerData.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/data/customerData.json -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/index.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter04/ch_04_mui/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_mui/src/setupTests.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/.gitignore -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/.prettierrc -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/README.md -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/package-lock.json -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/package.json -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/public/favicon.ico -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/public/index.html -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/public/logo192.png -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/public/logo512.png -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/public/manifest.json -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/public/robots.txt -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/App.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/App.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/Cart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/Cart.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/Cart.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/Cart.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/Product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/Product.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/Product.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/Product.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/ProductDetail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/ProductDetail.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/ProductDetail.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/ProductDetail.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/ProductList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/ProductList.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/ProductList.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/ProductList.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/Retail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/Retail.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/Retail.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/Retail.test.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/app/products.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/app/products.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/app/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/app/store.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/images/backpack.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/images/backpack.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/images/bracelet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/images/bracelet.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/images/jacket.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/images/jacket.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/images/long-sleeve.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/images/long-sleeve.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/images/short-sleeve.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/images/short-sleeve.jpg -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/images/thumbs-down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/images/thumbs-down.svg -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/images/thumbs-up.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/images/thumbs-up.svg -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/index.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/retailSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/retailSlice.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/serviceWorker.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/setupTests.js -------------------------------------------------------------------------------- /Chapter04/ch_04_redux/src/utils/test-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter04/ch_04_redux/src/utils/test-utils.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "react-app" 3 | } 4 | -------------------------------------------------------------------------------- /Chapter05/example_1_final/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /Chapter05/example_1_final/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/README.md -------------------------------------------------------------------------------- /Chapter05/example_1_final/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/package-lock.json -------------------------------------------------------------------------------- /Chapter05/example_1_final/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/package.json -------------------------------------------------------------------------------- /Chapter05/example_1_final/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/public/favicon.ico -------------------------------------------------------------------------------- /Chapter05/example_1_final/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/public/index.html -------------------------------------------------------------------------------- /Chapter05/example_1_final/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/public/manifest.json -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/components/App.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/components/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/components/App.test.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/components/Budget.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/components/Budget.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/components/BudgetList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/components/BudgetList.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/components/BudgetSummary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/components/BudgetSummary.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/components/Chart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/components/Chart.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/components/CreateNewBudget.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/components/CreateNewBudget.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/components/SetIncome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/components/SetIncome.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/data/categories.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/data/categories.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/index.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_final/src/registerServiceWorker.js -------------------------------------------------------------------------------- /Chapter05/example_1_final/src/setupTests.js: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | -------------------------------------------------------------------------------- /Chapter05/example_1_starter/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /Chapter05/example_1_starter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/README.md -------------------------------------------------------------------------------- /Chapter05/example_1_starter/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/package-lock.json -------------------------------------------------------------------------------- /Chapter05/example_1_starter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/package.json -------------------------------------------------------------------------------- /Chapter05/example_1_starter/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/public/favicon.ico -------------------------------------------------------------------------------- /Chapter05/example_1_starter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/public/index.html -------------------------------------------------------------------------------- /Chapter05/example_1_starter/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/public/manifest.json -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/App.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/App.test.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/Budget.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/Budget.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/Budget.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/Budget.test.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/BudgetList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/BudgetList.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/BudgetList.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/BudgetList.test.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/BudgetSummary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/BudgetSummary.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/BudgetSummary.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/BudgetSummary.test.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/Chart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/Chart.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/Chart.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/Chart.test.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/CreateNewBudget.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/CreateNewBudget.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/CreateNewBudget.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/CreateNewBudget.test.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/SetIncome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/SetIncome.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/components/SetIncome.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/components/SetIncome.test.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/data/categories.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/data/categories.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/index.js -------------------------------------------------------------------------------- /Chapter05/example_1_starter/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_1_starter/src/registerServiceWorker.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "react-app" 3 | } 4 | -------------------------------------------------------------------------------- /Chapter05/example_2_starter/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /Chapter05/example_2_starter/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/.prettierrc -------------------------------------------------------------------------------- /Chapter05/example_2_starter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/README.md -------------------------------------------------------------------------------- /Chapter05/example_2_starter/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/jsconfig.json -------------------------------------------------------------------------------- /Chapter05/example_2_starter/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/package-lock.json -------------------------------------------------------------------------------- /Chapter05/example_2_starter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/package.json -------------------------------------------------------------------------------- /Chapter05/example_2_starter/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/public/favicon.ico -------------------------------------------------------------------------------- /Chapter05/example_2_starter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/public/index.html -------------------------------------------------------------------------------- /Chapter05/example_2_starter/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/public/manifest.json -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/components/App.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/components/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/components/App.test.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/components/Budget.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/components/Budget.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/components/BudgetList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/components/BudgetList.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/components/BudgetSummary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/components/BudgetSummary.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/components/Chart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/components/Chart.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/components/CreateNewBudget.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/components/CreateNewBudget.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/components/SetIncome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/components/SetIncome.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/data/categories.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/data/categories.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/index.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/registerServiceWorker.js -------------------------------------------------------------------------------- /Chapter05/example_2_starter/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/example_2_starter/src/setupTests.js -------------------------------------------------------------------------------- /Chapter05/feedback_final/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/.gitignore -------------------------------------------------------------------------------- /Chapter05/feedback_final/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter05/feedback_final/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/.prettierrc -------------------------------------------------------------------------------- /Chapter05/feedback_final/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/README.md -------------------------------------------------------------------------------- /Chapter05/feedback_final/craco.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/craco.config.js -------------------------------------------------------------------------------- /Chapter05/feedback_final/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/package-lock.json -------------------------------------------------------------------------------- /Chapter05/feedback_final/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/package.json -------------------------------------------------------------------------------- /Chapter05/feedback_final/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/public/favicon.ico -------------------------------------------------------------------------------- /Chapter05/feedback_final/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/public/index.html -------------------------------------------------------------------------------- /Chapter05/feedback_final/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/public/logo192.png -------------------------------------------------------------------------------- /Chapter05/feedback_final/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/public/logo512.png -------------------------------------------------------------------------------- /Chapter05/feedback_final/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/public/manifest.json -------------------------------------------------------------------------------- /Chapter05/feedback_final/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/public/robots.txt -------------------------------------------------------------------------------- /Chapter05/feedback_final/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/src/App.js -------------------------------------------------------------------------------- /Chapter05/feedback_final/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/src/App.test.js -------------------------------------------------------------------------------- /Chapter05/feedback_final/src/Feedback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/src/Feedback.js -------------------------------------------------------------------------------- /Chapter05/feedback_final/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/src/index.css -------------------------------------------------------------------------------- /Chapter05/feedback_final/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/src/index.js -------------------------------------------------------------------------------- /Chapter05/feedback_final/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter05/feedback_final/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/src/setupTests.js -------------------------------------------------------------------------------- /Chapter05/feedback_final/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_final/tailwind.config.js -------------------------------------------------------------------------------- /Chapter05/feedback_starter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/.gitignore -------------------------------------------------------------------------------- /Chapter05/feedback_starter/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter05/feedback_starter/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/.prettierrc -------------------------------------------------------------------------------- /Chapter05/feedback_starter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/README.md -------------------------------------------------------------------------------- /Chapter05/feedback_starter/craco.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/craco.config.js -------------------------------------------------------------------------------- /Chapter05/feedback_starter/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/package-lock.json -------------------------------------------------------------------------------- /Chapter05/feedback_starter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/package.json -------------------------------------------------------------------------------- /Chapter05/feedback_starter/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/public/favicon.ico -------------------------------------------------------------------------------- /Chapter05/feedback_starter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/public/index.html -------------------------------------------------------------------------------- /Chapter05/feedback_starter/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/public/logo192.png -------------------------------------------------------------------------------- /Chapter05/feedback_starter/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/public/logo512.png -------------------------------------------------------------------------------- /Chapter05/feedback_starter/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/public/manifest.json -------------------------------------------------------------------------------- /Chapter05/feedback_starter/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/public/robots.txt -------------------------------------------------------------------------------- /Chapter05/feedback_starter/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/src/App.js -------------------------------------------------------------------------------- /Chapter05/feedback_starter/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/src/App.test.js -------------------------------------------------------------------------------- /Chapter05/feedback_starter/src/Feedback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/src/Feedback.js -------------------------------------------------------------------------------- /Chapter05/feedback_starter/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/src/index.css -------------------------------------------------------------------------------- /Chapter05/feedback_starter/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/src/index.js -------------------------------------------------------------------------------- /Chapter05/feedback_starter/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter05/feedback_starter/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/src/setupTests.js -------------------------------------------------------------------------------- /Chapter05/feedback_starter/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter05/feedback_starter/tailwind.config.js -------------------------------------------------------------------------------- /Chapter06/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/.eslintrc.json -------------------------------------------------------------------------------- /Chapter06/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/.gitignore -------------------------------------------------------------------------------- /Chapter06/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter06/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/.prettierrc -------------------------------------------------------------------------------- /Chapter06/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/.vscode/extensions.json -------------------------------------------------------------------------------- /Chapter06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/README.md -------------------------------------------------------------------------------- /Chapter06/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/example.js -------------------------------------------------------------------------------- /Chapter06/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/package-lock.json -------------------------------------------------------------------------------- /Chapter06/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/package.json -------------------------------------------------------------------------------- /Chapter06/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/public/favicon.ico -------------------------------------------------------------------------------- /Chapter06/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/public/index.html -------------------------------------------------------------------------------- /Chapter06/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/public/logo192.png -------------------------------------------------------------------------------- /Chapter06/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/public/logo512.png -------------------------------------------------------------------------------- /Chapter06/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/public/manifest.json -------------------------------------------------------------------------------- /Chapter06/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/public/robots.txt -------------------------------------------------------------------------------- /Chapter06/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/App.js -------------------------------------------------------------------------------- /Chapter06/src/LanguageCheckBox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/LanguageCheckBox.js -------------------------------------------------------------------------------- /Chapter06/src/LanguageCheckBox.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/LanguageCheckBox.test.js -------------------------------------------------------------------------------- /Chapter06/src/LanguageDropdown.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/LanguageDropdown.js -------------------------------------------------------------------------------- /Chapter06/src/LanguageDropdown.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/LanguageDropdown.test.js -------------------------------------------------------------------------------- /Chapter06/src/MoreInfoPopover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/MoreInfoPopover.js -------------------------------------------------------------------------------- /Chapter06/src/MoreInfoPopover.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/MoreInfoPopover.test.js -------------------------------------------------------------------------------- /Chapter06/src/NoAccessibility.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/NoAccessibility.js -------------------------------------------------------------------------------- /Chapter06/src/NoAccessibility.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/NoAccessibility.test.js -------------------------------------------------------------------------------- /Chapter06/src/image/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/image/login.png -------------------------------------------------------------------------------- /Chapter06/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/index.js -------------------------------------------------------------------------------- /Chapter06/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter06/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter06/src/setupTests.js -------------------------------------------------------------------------------- /Chapter07/my-blog/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/.eslintrc.json -------------------------------------------------------------------------------- /Chapter07/my-blog/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/.gitignore -------------------------------------------------------------------------------- /Chapter07/my-blog/.prettierignore: -------------------------------------------------------------------------------- 1 | .next -------------------------------------------------------------------------------- /Chapter07/my-blog/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/.prettierrc -------------------------------------------------------------------------------- /Chapter07/my-blog/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/README.md -------------------------------------------------------------------------------- /Chapter07/my-blog/components/CustomHead.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/components/CustomHead.js -------------------------------------------------------------------------------- /Chapter07/my-blog/components/Footer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/components/Footer.js -------------------------------------------------------------------------------- /Chapter07/my-blog/components/Nav.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/components/Nav.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress.json -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/e2e/api.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/e2e/api.spec.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/e2e/blogFlow.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/e2e/blogFlow.feature -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/e2e/blogFlow.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/e2e/blogFlow.spec.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/e2e/blogFlow/blogFlow.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/e2e/blogFlow/blogFlow.spec.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/e2e/pages/AddPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/e2e/pages/AddPage.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/e2e/pages/HomePage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/e2e/pages/HomePage.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/e2e/pages/PostDetailPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/e2e/pages/PostDetailPage.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/fixtures/example.json -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/plugins/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/plugins/index.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/support/commands.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/support/commands.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/support/generateBlogPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/support/generateBlogPost.js -------------------------------------------------------------------------------- /Chapter07/my-blog/cypress/support/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/cypress/support/index.js -------------------------------------------------------------------------------- /Chapter07/my-blog/db/mongoose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/db/mongoose.js -------------------------------------------------------------------------------- /Chapter07/my-blog/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/jsconfig.json -------------------------------------------------------------------------------- /Chapter07/my-blog/next.config.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | module.exports = { 4 | env: { mongodb: process.env.MONGODB_URI } 5 | } 6 | -------------------------------------------------------------------------------- /Chapter07/my-blog/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/package-lock.json -------------------------------------------------------------------------------- /Chapter07/my-blog/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/package.json -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/_app.js -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/_document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/_document.js -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/add.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/add.js -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/api/add.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/api/add.js -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/api/delete/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/api/delete/[id].js -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/api/post/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/api/post/[id].js -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/api/posts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/api/posts.js -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/index.js -------------------------------------------------------------------------------- /Chapter07/my-blog/pages/post/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/pages/post/[id].js -------------------------------------------------------------------------------- /Chapter07/my-blog/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/postcss.config.js -------------------------------------------------------------------------------- /Chapter07/my-blog/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/public/logo.png -------------------------------------------------------------------------------- /Chapter07/my-blog/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/tailwind.config.js -------------------------------------------------------------------------------- /Chapter07/my-blog/utils/getCurrentDate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/my-blog/utils/getCurrentDate.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["react-app", "plugin:cypress/recommended"] 3 | } 4 | -------------------------------------------------------------------------------- /Chapter07/start_cypress/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/.gitignore -------------------------------------------------------------------------------- /Chapter07/start_cypress/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | public -------------------------------------------------------------------------------- /Chapter07/start_cypress/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/.prettierrc -------------------------------------------------------------------------------- /Chapter07/start_cypress/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/.vscode/extensions.json -------------------------------------------------------------------------------- /Chapter07/start_cypress/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/README.md -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress.json -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/checkOutFlow.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/checkOutFlow.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/actions.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/actions.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/aliasing.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/aliasing.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/assertions.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/assertions.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/connectors.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/connectors.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/cookies.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/cookies.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/cypress_api.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/cypress_api.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/files.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/files.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/local_storage.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/local_storage.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/location.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/location.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/misc.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/misc.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/navigation.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/navigation.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/network_requests.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/network_requests.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/querying.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/querying.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/spies_stubs_clocks.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/spies_stubs_clocks.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/traversal.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/traversal.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/utilities.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/utilities.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/viewport.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/viewport.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/waiting.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/waiting.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/e2e/examples/window.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/e2e/examples/window.spec.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/fixtures/example.json -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/plugins/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/plugins/index.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/support/commands.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/support/commands.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/support/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/support/index.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/cypress/support/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/cypress/support/user.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/jsconfig.json -------------------------------------------------------------------------------- /Chapter07/start_cypress/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/package-lock.json -------------------------------------------------------------------------------- /Chapter07/start_cypress/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/package.json -------------------------------------------------------------------------------- /Chapter07/start_cypress/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/start_cypress/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/public/index.html -------------------------------------------------------------------------------- /Chapter07/start_cypress/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/public/logo192.png -------------------------------------------------------------------------------- /Chapter07/start_cypress/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/public/logo512.png -------------------------------------------------------------------------------- /Chapter07/start_cypress/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/start_cypress/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/public/robots.txt -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/AddressForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/AddressForm.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/App.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/App.test.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/Checkout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/Checkout.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/PaymentForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/PaymentForm.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/Review.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/Review.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/index.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/reportWebVitals.js -------------------------------------------------------------------------------- /Chapter07/start_cypress/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/Chapter07/start_cypress/src/setupTests.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Simplify-Testing-with-React-Testing-Library/HEAD/README.md --------------------------------------------------------------------------------