├── .DS_Store ├── README.md ├── enzyme ├── .gitignore ├── .vscode │ └── settings.json ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src │ ├── LazyComponent.js │ ├── __tests__ │ │ ├── 1-getting-started │ │ │ └── index.test.js │ │ ├── 2-shallow-rendering │ │ │ ├── 1-introduction.test.js │ │ │ └── 2-options.test.js │ │ ├── 3-full-dom-rendering │ │ │ ├── 1-introduction.test.js │ │ │ └── 2-options.test.js │ │ ├── 4-static-rendering │ │ │ └── 1-introduction.test.js │ │ ├── 5-selectors │ │ │ └── 1-index.test.js │ │ ├── 6-shallow-and-full-dom-methods │ │ │ └── index.test.js │ │ ├── 7-shallow-only-methods │ │ │ └── index.test.js │ │ └── 8-full-dom-only-methods │ │ │ └── index.test.js │ └── setupTests.js └── yarn.lock └── jest ├── .DS_Store ├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── 0-base-project ├── index.test.js └── package.json ├── 1-getting-started ├── babel-ts │ ├── .babelrc.js │ ├── package-lock.json │ ├── package.json │ ├── sum.test.ts │ └── sum.ts ├── babel │ ├── .babelrc.js │ ├── package-lock.json │ ├── package.json │ ├── sum.js │ └── sum.test.js └── simple │ ├── jest.config.js │ ├── package-lock.json │ ├── package.json │ ├── sum.js │ └── sum.test.js ├── 10-es6-class-mocks ├── jest.config.js ├── package-lock.json ├── package.json └── src │ ├── __mocks__ │ ├── sound-player.1.txt │ └── sound-player.js │ ├── __tests__ │ ├── automatic-mock.test.txt │ ├── manual-mock.test.js │ ├── mock-implementation.test.js │ ├── module-factory.test.js │ └── simple-class.test.js │ ├── sound-player-consumer.js │ └── sound-player.js ├── 11-bypassing-module-mocks ├── createUser.js ├── createUser.test.js ├── package-lock.json └── package.json ├── 12-using-with-puppeteer ├── index.test.js ├── jest.config.js ├── package-lock.json ├── package.json ├── puppeteer_environment.js ├── setup.js └── teardown.js ├── 13-using-with-mongodb ├── index.test.js ├── jest.config.js ├── package-lock.json └── package.json ├── 14-using-with-dynamodb ├── index.test.js ├── jest-dynamodb-config.js ├── jest.config.js ├── package-lock.json └── package.json ├── 15-dom-manipulation ├── displayUser.js ├── displayUser.test.js ├── fetchCurrentUser.js ├── jest.config.js ├── package-lock.json └── package.json ├── 16-watch-plugins ├── custom-watch-plugin.js ├── jest.config.js ├── nok.test.js ├── ok.test.js ├── package-lock.json └── package.json ├── 17-troubleshooting ├── react-jest │ ├── .gitignore │ ├── .vscode │ │ └── launch.json │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ ├── src │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── index.css │ │ ├── index.js │ │ ├── logo.svg │ │ └── serviceWorker.js │ └── yarn.lock └── watch-plugins │ ├── .vscode │ └── launch.json │ ├── custom-watch-plugin.js │ ├── jest.config.js │ ├── nok.test.js │ ├── ok.test.js │ ├── package-lock.json │ └── package.json ├── 18-testing-react-apps ├── .gitignore ├── README.md ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json ├── src │ ├── CheckboxWithLabel.js │ ├── __tests__ │ │ ├── CheckboxWithLabel-a.test.js │ │ └── CheckboxWithLabel-b.test.js │ └── setupTests.js └── yarn.lock ├── 19-testing-react-native-apps └── ReactNativeJest │ ├── .babelrc │ ├── .buckconfig │ ├── .gitattributes │ ├── .gitignore │ ├── .watchmanconfig │ ├── App.js │ ├── Intro.js │ ├── __tests__ │ ├── App.js │ ├── Intro.js │ └── __snapshots__ │ │ └── Intro.js.snap │ ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── build_defs.bzl │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── reactnativejest │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── keystores │ │ ├── BUCK │ │ └── debug.keystore.properties │ └── settings.gradle │ ├── anotherPath │ └── my-module.js │ ├── app.json │ ├── babel.config.js │ ├── index.js │ ├── ios │ ├── Podfile │ ├── ReactNativeJest.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── ReactNativeJest.xcscheme │ ├── ReactNativeJest │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── ReactNativeJestTests │ │ ├── Info.plist │ │ └── ReactNativeJestTests.m │ ├── package-lock.json │ ├── package.json │ ├── setupTests.js │ └── yarn.lock ├── 2-using-matchers ├── index.test.js ├── jest.config.js ├── package-lock.json └── package.json ├── 20-globals ├── index.test.js ├── jest.config.js └── package.json ├── 21-expect-extend ├── __snapshots__ │ └── index-2.test.js.snap ├── index-0.test.js ├── index-1.test.js ├── index-2.test.js ├── jest.config.js ├── package-lock.json └── package.json ├── 22-expect-built-in-matchers ├── __snapshots__ │ └── index.test.js.snap ├── index.test.js ├── jest.config.js └── package.json ├── 23-mock-functions-api ├── index.test.js ├── jest.config.js └── package.json ├── 24-jest-object-mock-modules ├── __mocks__ │ └── auth.js ├── __tests__ │ ├── disableAutomock.test.txt │ ├── doMock.js │ ├── dontMock.js │ ├── enableAutomock.test.js │ ├── genMockFromModule.test.js │ ├── isolateModules.js │ ├── jestMock.js │ ├── requireActual.js │ ├── requireMock.js │ ├── resetModules.js │ ├── setMock.js │ └── unmock.js ├── auth.js ├── common.js ├── empty-1.js ├── empty-2.js ├── jest.config.js ├── package.json └── stateful.js ├── 25-jest-object-mock-functions ├── index.test.js └── package.json ├── 26-jest-object-mock-timers ├── index.test.js └── package.json ├── 27-jest-object-misc ├── index.test.js ├── jest.config.js ├── package-lock.json └── package.json ├── 28-configuring-jest ├── 1-configuring │ ├── index-1.test.js │ ├── index-2.test.js │ ├── jest-custom.config.js │ ├── jest.config.js │ ├── package-lock.json │ └── package.json ├── 10-global-setup-teardown │ ├── index-1.test.js │ ├── jest.config.js │ ├── package.json │ ├── setup.js │ └── teardown.js ├── 11-module-directories │ ├── custom_node_modules │ │ └── custom-module.js │ ├── index.test.js │ ├── jest.config.js │ └── package.json ├── 12-module-file-extensions │ ├── custom_node_modules │ │ ├── custom-module.js │ │ └── custom-module.json │ ├── index.test.js │ ├── jest.config.js │ └── package.json ├── 13-module-name-mapper │ ├── image-stub.js │ ├── index.test.js │ ├── jest.config.js │ └── package.json ├── 14-module-paths-and-ignore │ ├── jest.config.js │ ├── package.json │ └── src │ │ ├── accept │ │ ├── custom-utils.js │ │ └── index.test.js │ │ └── ignore │ │ ├── custom-utils.js │ │ └── index.test.js ├── 15-notify │ ├── index.test.js │ ├── jest.config.js │ └── package.json ├── 16-preset │ ├── index.test.js │ ├── jest.config.js │ ├── notify-preset │ │ └── jest-preset.js │ └── package.json ├── 17-projects │ ├── jest.config.js │ ├── package.json │ ├── project-1 │ │ ├── index.test.js │ │ └── package.json │ └── project-2 │ │ ├── index.test.js │ │ └── package.json ├── 18-custom-reporters │ ├── index.test.js │ ├── jest.config.js │ ├── my-custom-reporter.js │ └── package.json ├── 19-reset-mocks │ ├── index.test.js │ ├── jest.config.js │ ├── package.json │ └── utils.js ├── 2-automock │ ├── index.test.js │ ├── jest.config.js │ ├── package.json │ └── utils.js ├── 20-reset-modules │ ├── index.test.js │ ├── jest.config.js │ ├── package.json │ └── stateful.js ├── 21-resolver │ ├── foo.js │ ├── index.test.js │ ├── jest.config.js │ ├── package-lock.json │ ├── package.json │ └── resolver.js ├── 22-restore-mocks │ ├── index.test.js │ ├── jest.config.js │ ├── package-lock.json │ └── package.json ├── 23-root-dir │ ├── jest.config.js │ ├── package.json │ └── src │ │ ├── index-1.test.js │ │ ├── setup.js │ │ └── teardown.js ├── 24-roots │ ├── jest.config.js │ ├── package.json │ ├── src │ │ └── index-2.test.js │ └── tests │ │ └── index-1.test.js ├── 25-runner │ ├── index.test.js │ ├── jest.config.js │ ├── package-lock.json │ └── package.json ├── 26-setup-files-and-setup-files-after-env │ ├── globalSetup.js │ ├── globalTeardown.js │ ├── index-1.test.js │ ├── index-2.test.js │ ├── jest.config.js │ ├── package.json │ ├── setup.js │ └── setupAfterEnv.js ├── 27-snapshot-resolver │ ├── __snapshots__ │ │ └── subdir │ │ │ └── index.test.js.snap │ ├── __tests__ │ │ └── subdir │ │ │ └── index.test.js │ ├── jest.config.js │ ├── package.json │ └── snapshot-resolver.js ├── 28-snapshot-serializer │ ├── __snapshots__ │ │ └── index.test.js.snap │ ├── custom-snapshot-serializer.js │ ├── index.test.js │ ├── jest.config.js │ └── package.json ├── 29-test-environment │ ├── custom-environment.js │ ├── jest.config.js │ ├── jsdom.test.js │ ├── node.test.js │ ├── package-lock.json │ └── package.json ├── 3-bail │ ├── index-1.test.js │ ├── index-2.test.js │ ├── index-3.test.js │ ├── jest.config.js │ └── package.json ├── 30-test-match │ ├── __secret_tests__ │ │ └── secret.js │ ├── index.test.js │ ├── jest.config.js │ └── package.json ├── 31-result-processor │ ├── index.test.js │ ├── jest.config.js │ ├── package.json │ └── processor.js ├── 32-test-sequencer │ ├── custom-sequencer.js │ ├── index-1.test.js │ ├── index-2.test.js │ ├── index-3.test.js │ ├── jest.config.js │ ├── package-lock.json │ └── package.json ├── 33-test-url │ ├── index.test.js │ ├── jest.config.js │ └── package.json ├── 34-timers │ ├── index.test.js │ ├── jest.config.js │ └── package.json ├── 35-transformers │ ├── custom-transformer.js │ ├── ignore-me.not-test.js │ ├── index.test.js │ ├── package.json │ └── transform-me.not-test.js ├── 36-unmocked-module-path-patterns │ ├── index.test.js │ ├── package-lock.json │ └── package.json ├── 37-verbose │ ├── index-1.test.js │ ├── index.test.js │ └── package.json ├── 38-watch-plugins │ ├── custom-watch-plugin.js │ ├── ignore-me.test.js │ ├── jest.config.js │ ├── nok.test.js │ ├── ok.test.js │ ├── package-lock.json │ └── package.json ├── 4-cache-directory │ ├── index.test.js │ ├── jest.config.js │ ├── package.json │ └── utils.js ├── 5-clear-mocks │ ├── index.test.js │ ├── jest.config.js │ ├── package.json │ └── utils.js ├── 6-collect-coverage │ ├── __tests__ │ │ └── sum.t.js │ ├── coverageCustom │ │ ├── clover.xml │ │ ├── coverage-final.json │ │ ├── lcov-report │ │ │ ├── 6-collect-coverage │ │ │ │ ├── __tests__ │ │ │ │ │ ├── index.html │ │ │ │ │ └── sum.t.js.html │ │ │ │ ├── index.html │ │ │ │ ├── utils-1.js.html │ │ │ │ └── utils-2.js.html │ │ │ ├── base.css │ │ │ ├── block-navigation.js │ │ │ ├── index.html │ │ │ ├── prettify.css │ │ │ ├── prettify.js │ │ │ ├── sort-arrow-sprite.png │ │ │ ├── sorter.js │ │ │ ├── utils-1.js.html │ │ │ └── utils-2.js.html │ │ └── lcov.info │ ├── jest.config.js │ ├── package.json │ ├── utils-1.js │ ├── utils-1.test.js │ ├── utils-2.js │ └── utils-2.test.js ├── 7-dependency-extractor │ ├── .vscode │ │ └── launch.json │ ├── dependencyExtractor.js │ ├── index.test.js │ ├── jest.config.js │ ├── package-lock.json │ ├── package.json │ └── utils.js ├── 8-display-name │ ├── index.test.js │ ├── jest.config.js │ └── package.json └── 9-global-variable │ ├── index-1.test.js │ ├── index-2.test.js │ ├── jest.config.js │ └── package.json ├── 29-jest-cli-options-detect-open-handles ├── index.test.js ├── jest.config.js ├── package-lock.json └── package.json ├── 29-jest-cli-options-projects ├── jest.config.js ├── package.json ├── project-1 │ ├── index.test.js │ └── package.json └── project-2 │ ├── index.test.js │ └── package.json ├── 29-jest-cli-options ├── __tests__ │ ├── __snapshots__ │ │ └── snapshot.test.js.snap │ ├── a.test.js │ ├── b.test.js │ ├── custom.test.js │ ├── diff.test.js │ ├── error-1.test.js │ ├── error-2.test.js │ ├── ok.test.js │ ├── snapshot.test.js │ └── window.test.js ├── custom-jest.config.js ├── custom-reporter.js ├── custom-sequencer.js ├── custom-setup.js ├── output.json ├── package-lock.json ├── package.json └── src │ ├── a.js │ └── b.js ├── 3-testing-asynchronous-code ├── index.test.js ├── jest.config.js ├── package-lock.json └── package.json ├── 4-setup-and-teardown ├── index-1.test.js ├── index-2.test.js ├── index-3.test.js ├── index-4.test.js ├── index-5.test.js ├── index-6.test.js ├── jest.config.js ├── package-lock.json └── package.json ├── 5-mock-functions ├── __snapshots__ │ └── index-1.test.js.snap ├── foo.js ├── foo.test.js ├── index-1.test.js ├── jest.config.js ├── package-lock.json ├── package.json ├── users.js └── users.test.js ├── 6-jest-platform ├── heavy-task.js ├── jest-changed-files.js ├── jest-diff.js ├── jest-doc-block.js ├── jest-get-type.js ├── jest-validate.js ├── jest-worker.js ├── jest.config.js ├── package-lock.json ├── package.json └── pretty-format.js ├── 7-snapshot-testing └── link.txt ├── 8-timer-mocks ├── infiniteTimerGame.js ├── infiniteTimerGame.test.js ├── jest.config.js ├── package-lock.json ├── package.json ├── timerGame.js └── timerGame.test.js └── 9-manual-mocks ├── __mocks__ ├── fs.js └── lodash.js ├── jest.config.js ├── package-lock.json ├── package.json └── src ├── fileSummarizer ├── __tests__ │ └── fileSummarizer.test.js └── fileSummarizer.js ├── lodash └── __tests__ │ └── lodash.test.js ├── matchMedia ├── matchMedia.mock.js └── matchMedia.test.js └── users ├── __mocks__ └── user.js ├── __tests__ └── user.test.js └── user.js /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/.DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/README.md -------------------------------------------------------------------------------- /enzyme/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/.gitignore -------------------------------------------------------------------------------- /enzyme/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "prettier.eslintIntegration": false 3 | } 4 | -------------------------------------------------------------------------------- /enzyme/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/README.md -------------------------------------------------------------------------------- /enzyme/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/package-lock.json -------------------------------------------------------------------------------- /enzyme/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/package.json -------------------------------------------------------------------------------- /enzyme/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/public/favicon.ico -------------------------------------------------------------------------------- /enzyme/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/public/index.html -------------------------------------------------------------------------------- /enzyme/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/public/logo192.png -------------------------------------------------------------------------------- /enzyme/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/public/logo512.png -------------------------------------------------------------------------------- /enzyme/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/public/manifest.json -------------------------------------------------------------------------------- /enzyme/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/public/robots.txt -------------------------------------------------------------------------------- /enzyme/src/LazyComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/LazyComponent.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/1-getting-started/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/1-getting-started/index.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/2-shallow-rendering/1-introduction.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/2-shallow-rendering/1-introduction.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/2-shallow-rendering/2-options.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/2-shallow-rendering/2-options.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/3-full-dom-rendering/1-introduction.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/3-full-dom-rendering/1-introduction.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/3-full-dom-rendering/2-options.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/3-full-dom-rendering/2-options.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/4-static-rendering/1-introduction.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/4-static-rendering/1-introduction.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/5-selectors/1-index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/5-selectors/1-index.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/6-shallow-and-full-dom-methods/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/6-shallow-and-full-dom-methods/index.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/7-shallow-only-methods/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/7-shallow-only-methods/index.test.js -------------------------------------------------------------------------------- /enzyme/src/__tests__/8-full-dom-only-methods/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/__tests__/8-full-dom-only-methods/index.test.js -------------------------------------------------------------------------------- /enzyme/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/src/setupTests.js -------------------------------------------------------------------------------- /enzyme/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/enzyme/yarn.lock -------------------------------------------------------------------------------- /jest/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/.DS_Store -------------------------------------------------------------------------------- /jest/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /jest/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/.vscode/launch.json -------------------------------------------------------------------------------- /jest/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.formatOnSave": true 3 | } 4 | -------------------------------------------------------------------------------- /jest/0-base-project/index.test.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jest/0-base-project/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/0-base-project/package.json -------------------------------------------------------------------------------- /jest/1-getting-started/babel-ts/.babelrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel-ts/.babelrc.js -------------------------------------------------------------------------------- /jest/1-getting-started/babel-ts/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel-ts/package-lock.json -------------------------------------------------------------------------------- /jest/1-getting-started/babel-ts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel-ts/package.json -------------------------------------------------------------------------------- /jest/1-getting-started/babel-ts/sum.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel-ts/sum.test.ts -------------------------------------------------------------------------------- /jest/1-getting-started/babel-ts/sum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel-ts/sum.ts -------------------------------------------------------------------------------- /jest/1-getting-started/babel/.babelrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel/.babelrc.js -------------------------------------------------------------------------------- /jest/1-getting-started/babel/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel/package-lock.json -------------------------------------------------------------------------------- /jest/1-getting-started/babel/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel/package.json -------------------------------------------------------------------------------- /jest/1-getting-started/babel/sum.js: -------------------------------------------------------------------------------- 1 | export default function sum(a, b) { 2 | return a + b; 3 | } 4 | -------------------------------------------------------------------------------- /jest/1-getting-started/babel/sum.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/babel/sum.test.js -------------------------------------------------------------------------------- /jest/1-getting-started/simple/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/simple/jest.config.js -------------------------------------------------------------------------------- /jest/1-getting-started/simple/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/simple/package-lock.json -------------------------------------------------------------------------------- /jest/1-getting-started/simple/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/simple/package.json -------------------------------------------------------------------------------- /jest/1-getting-started/simple/sum.js: -------------------------------------------------------------------------------- 1 | function sum(a, b) { 2 | return a + b; 3 | } 4 | 5 | module.exports = sum; -------------------------------------------------------------------------------- /jest/1-getting-started/simple/sum.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/1-getting-started/simple/sum.test.js -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/jest.config.js -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/package-lock.json -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/package.json -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/__mocks__/sound-player.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/__mocks__/sound-player.1.txt -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/__mocks__/sound-player.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/__mocks__/sound-player.js -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/__tests__/automatic-mock.test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/__tests__/automatic-mock.test.txt -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/__tests__/manual-mock.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/__tests__/manual-mock.test.js -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/__tests__/mock-implementation.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/__tests__/mock-implementation.test.js -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/__tests__/module-factory.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/__tests__/module-factory.test.js -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/__tests__/simple-class.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/__tests__/simple-class.test.js -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/sound-player-consumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/sound-player-consumer.js -------------------------------------------------------------------------------- /jest/10-es6-class-mocks/src/sound-player.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/10-es6-class-mocks/src/sound-player.js -------------------------------------------------------------------------------- /jest/11-bypassing-module-mocks/createUser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/11-bypassing-module-mocks/createUser.js -------------------------------------------------------------------------------- /jest/11-bypassing-module-mocks/createUser.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/11-bypassing-module-mocks/createUser.test.js -------------------------------------------------------------------------------- /jest/11-bypassing-module-mocks/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/11-bypassing-module-mocks/package-lock.json -------------------------------------------------------------------------------- /jest/11-bypassing-module-mocks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/11-bypassing-module-mocks/package.json -------------------------------------------------------------------------------- /jest/12-using-with-puppeteer/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/12-using-with-puppeteer/index.test.js -------------------------------------------------------------------------------- /jest/12-using-with-puppeteer/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/12-using-with-puppeteer/jest.config.js -------------------------------------------------------------------------------- /jest/12-using-with-puppeteer/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/12-using-with-puppeteer/package-lock.json -------------------------------------------------------------------------------- /jest/12-using-with-puppeteer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/12-using-with-puppeteer/package.json -------------------------------------------------------------------------------- /jest/12-using-with-puppeteer/puppeteer_environment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/12-using-with-puppeteer/puppeteer_environment.js -------------------------------------------------------------------------------- /jest/12-using-with-puppeteer/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/12-using-with-puppeteer/setup.js -------------------------------------------------------------------------------- /jest/12-using-with-puppeteer/teardown.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/12-using-with-puppeteer/teardown.js -------------------------------------------------------------------------------- /jest/13-using-with-mongodb/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/13-using-with-mongodb/index.test.js -------------------------------------------------------------------------------- /jest/13-using-with-mongodb/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: "@shelf/jest-mongodb" 3 | }; 4 | -------------------------------------------------------------------------------- /jest/13-using-with-mongodb/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/13-using-with-mongodb/package-lock.json -------------------------------------------------------------------------------- /jest/13-using-with-mongodb/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/13-using-with-mongodb/package.json -------------------------------------------------------------------------------- /jest/14-using-with-dynamodb/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/14-using-with-dynamodb/index.test.js -------------------------------------------------------------------------------- /jest/14-using-with-dynamodb/jest-dynamodb-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/14-using-with-dynamodb/jest-dynamodb-config.js -------------------------------------------------------------------------------- /jest/14-using-with-dynamodb/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: "@shelf/jest-dynamodb" 3 | }; 4 | -------------------------------------------------------------------------------- /jest/14-using-with-dynamodb/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/14-using-with-dynamodb/package-lock.json -------------------------------------------------------------------------------- /jest/14-using-with-dynamodb/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/14-using-with-dynamodb/package.json -------------------------------------------------------------------------------- /jest/15-dom-manipulation/displayUser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/15-dom-manipulation/displayUser.js -------------------------------------------------------------------------------- /jest/15-dom-manipulation/displayUser.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/15-dom-manipulation/displayUser.test.js -------------------------------------------------------------------------------- /jest/15-dom-manipulation/fetchCurrentUser.js: -------------------------------------------------------------------------------- 1 | module.exports = user => {}; 2 | -------------------------------------------------------------------------------- /jest/15-dom-manipulation/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/15-dom-manipulation/jest.config.js -------------------------------------------------------------------------------- /jest/15-dom-manipulation/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/15-dom-manipulation/package-lock.json -------------------------------------------------------------------------------- /jest/15-dom-manipulation/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/15-dom-manipulation/package.json -------------------------------------------------------------------------------- /jest/16-watch-plugins/custom-watch-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/16-watch-plugins/custom-watch-plugin.js -------------------------------------------------------------------------------- /jest/16-watch-plugins/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/16-watch-plugins/jest.config.js -------------------------------------------------------------------------------- /jest/16-watch-plugins/nok.test.js: -------------------------------------------------------------------------------- 1 | it("nok", () => { 2 | expect(true).toBe(false); 3 | }); 4 | -------------------------------------------------------------------------------- /jest/16-watch-plugins/ok.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/16-watch-plugins/ok.test.js -------------------------------------------------------------------------------- /jest/16-watch-plugins/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/16-watch-plugins/package-lock.json -------------------------------------------------------------------------------- /jest/16-watch-plugins/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/16-watch-plugins/package.json -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/.gitignore -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/.vscode/launch.json -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/README.md -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/package.json -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/public/favicon.ico -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/public/index.html -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/public/manifest.json -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/src/App.css -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/src/App.js -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/src/App.test.js -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/src/index.css -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/src/index.js -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/src/logo.svg -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/src/serviceWorker.js -------------------------------------------------------------------------------- /jest/17-troubleshooting/react-jest/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/react-jest/yarn.lock -------------------------------------------------------------------------------- /jest/17-troubleshooting/watch-plugins/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/watch-plugins/.vscode/launch.json -------------------------------------------------------------------------------- /jest/17-troubleshooting/watch-plugins/custom-watch-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/watch-plugins/custom-watch-plugin.js -------------------------------------------------------------------------------- /jest/17-troubleshooting/watch-plugins/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/watch-plugins/jest.config.js -------------------------------------------------------------------------------- /jest/17-troubleshooting/watch-plugins/nok.test.js: -------------------------------------------------------------------------------- 1 | it("nok", () => { 2 | expect(true).toBe(false); 3 | }); 4 | -------------------------------------------------------------------------------- /jest/17-troubleshooting/watch-plugins/ok.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/watch-plugins/ok.test.js -------------------------------------------------------------------------------- /jest/17-troubleshooting/watch-plugins/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/watch-plugins/package-lock.json -------------------------------------------------------------------------------- /jest/17-troubleshooting/watch-plugins/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/17-troubleshooting/watch-plugins/package.json -------------------------------------------------------------------------------- /jest/18-testing-react-apps/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/.gitignore -------------------------------------------------------------------------------- /jest/18-testing-react-apps/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/README.md -------------------------------------------------------------------------------- /jest/18-testing-react-apps/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/package.json -------------------------------------------------------------------------------- /jest/18-testing-react-apps/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/public/favicon.ico -------------------------------------------------------------------------------- /jest/18-testing-react-apps/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/public/index.html -------------------------------------------------------------------------------- /jest/18-testing-react-apps/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/public/manifest.json -------------------------------------------------------------------------------- /jest/18-testing-react-apps/src/CheckboxWithLabel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/src/CheckboxWithLabel.js -------------------------------------------------------------------------------- /jest/18-testing-react-apps/src/__tests__/CheckboxWithLabel-a.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/src/__tests__/CheckboxWithLabel-a.test.js -------------------------------------------------------------------------------- /jest/18-testing-react-apps/src/__tests__/CheckboxWithLabel-b.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/src/__tests__/CheckboxWithLabel-b.test.js -------------------------------------------------------------------------------- /jest/18-testing-react-apps/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/src/setupTests.js -------------------------------------------------------------------------------- /jest/18-testing-react-apps/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/18-testing-react-apps/yarn.lock -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/.babelrc -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/.buckconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/.buckconfig -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/.gitignore -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/App.js -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/Intro.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/Intro.js -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/__tests__/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/__tests__/App.js -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/__tests__/Intro.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/__tests__/Intro.js -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/__tests__/__snapshots__/Intro.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/__tests__/__snapshots__/Intro.js.snap -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/BUCK -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/build.gradle -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/build_defs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/build_defs.bzl -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/java/com/reactnativejest/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/java/com/reactnativejest/MainActivity.java -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/java/com/reactnativejest/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/java/com/reactnativejest/MainApplication.java -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/build.gradle -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/gradle.properties -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/gradlew -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/gradlew.bat -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/keystores/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/keystores/BUCK -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/keystores/debug.keystore.properties -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/android/settings.gradle -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/anotherPath/my-module.js: -------------------------------------------------------------------------------- 1 | export default "my-module-at-another-path"; 2 | -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/app.json -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/babel.config.js -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/index.js -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/Podfile -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest.xcodeproj/xcshareddata/xcschemes/ReactNativeJest.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest.xcodeproj/xcshareddata/xcschemes/ReactNativeJest.xcscheme -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/AppDelegate.h -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/AppDelegate.m -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/Base.lproj/LaunchScreen.xib -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/Info.plist -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJest/main.m -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJestTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJestTests/Info.plist -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJestTests/ReactNativeJestTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/ios/ReactNativeJestTests/ReactNativeJestTests.m -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/package-lock.json -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/package.json -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/setupTests.js -------------------------------------------------------------------------------- /jest/19-testing-react-native-apps/ReactNativeJest/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/19-testing-react-native-apps/ReactNativeJest/yarn.lock -------------------------------------------------------------------------------- /jest/2-using-matchers/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/2-using-matchers/index.test.js -------------------------------------------------------------------------------- /jest/2-using-matchers/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/2-using-matchers/jest.config.js -------------------------------------------------------------------------------- /jest/2-using-matchers/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/2-using-matchers/package-lock.json -------------------------------------------------------------------------------- /jest/2-using-matchers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/2-using-matchers/package.json -------------------------------------------------------------------------------- /jest/20-globals/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/20-globals/index.test.js -------------------------------------------------------------------------------- /jest/20-globals/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/20-globals/jest.config.js -------------------------------------------------------------------------------- /jest/20-globals/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/20-globals/package.json -------------------------------------------------------------------------------- /jest/21-expect-extend/__snapshots__/index-2.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/21-expect-extend/__snapshots__/index-2.test.js.snap -------------------------------------------------------------------------------- /jest/21-expect-extend/index-0.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/21-expect-extend/index-0.test.js -------------------------------------------------------------------------------- /jest/21-expect-extend/index-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/21-expect-extend/index-1.test.js -------------------------------------------------------------------------------- /jest/21-expect-extend/index-2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/21-expect-extend/index-2.test.js -------------------------------------------------------------------------------- /jest/21-expect-extend/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/21-expect-extend/jest.config.js -------------------------------------------------------------------------------- /jest/21-expect-extend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/21-expect-extend/package-lock.json -------------------------------------------------------------------------------- /jest/21-expect-extend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/21-expect-extend/package.json -------------------------------------------------------------------------------- /jest/22-expect-built-in-matchers/__snapshots__/index.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/22-expect-built-in-matchers/__snapshots__/index.test.js.snap -------------------------------------------------------------------------------- /jest/22-expect-built-in-matchers/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/22-expect-built-in-matchers/index.test.js -------------------------------------------------------------------------------- /jest/22-expect-built-in-matchers/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/22-expect-built-in-matchers/jest.config.js -------------------------------------------------------------------------------- /jest/22-expect-built-in-matchers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/22-expect-built-in-matchers/package.json -------------------------------------------------------------------------------- /jest/23-mock-functions-api/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/23-mock-functions-api/index.test.js -------------------------------------------------------------------------------- /jest/23-mock-functions-api/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /jest/23-mock-functions-api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/23-mock-functions-api/package.json -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__mocks__/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__mocks__/auth.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/disableAutomock.test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/disableAutomock.test.txt -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/doMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/doMock.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/dontMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/dontMock.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/enableAutomock.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/enableAutomock.test.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/genMockFromModule.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/genMockFromModule.test.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/isolateModules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/isolateModules.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/jestMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/jestMock.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/requireActual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/requireActual.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/requireMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/requireMock.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/resetModules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/resetModules.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/setMock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/setMock.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/__tests__/unmock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/__tests__/unmock.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/auth.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/common.js -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/empty-1.js: -------------------------------------------------------------------------------- 1 | module.exports = () => { 2 | return "empty-1"; 3 | }; 4 | -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/empty-2.js: -------------------------------------------------------------------------------- 1 | module.exports = () => { 2 | return "empty-2"; 3 | }; 4 | -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | automock: false 3 | }; 4 | -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/package.json -------------------------------------------------------------------------------- /jest/24-jest-object-mock-modules/stateful.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/24-jest-object-mock-modules/stateful.js -------------------------------------------------------------------------------- /jest/25-jest-object-mock-functions/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/25-jest-object-mock-functions/index.test.js -------------------------------------------------------------------------------- /jest/25-jest-object-mock-functions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/25-jest-object-mock-functions/package.json -------------------------------------------------------------------------------- /jest/26-jest-object-mock-timers/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/26-jest-object-mock-timers/index.test.js -------------------------------------------------------------------------------- /jest/26-jest-object-mock-timers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/26-jest-object-mock-timers/package.json -------------------------------------------------------------------------------- /jest/27-jest-object-misc/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/27-jest-object-misc/index.test.js -------------------------------------------------------------------------------- /jest/27-jest-object-misc/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/27-jest-object-misc/jest.config.js -------------------------------------------------------------------------------- /jest/27-jest-object-misc/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/27-jest-object-misc/package-lock.json -------------------------------------------------------------------------------- /jest/27-jest-object-misc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/27-jest-object-misc/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/1-configuring/index-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/1-configuring/index-1.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/1-configuring/index-2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/1-configuring/index-2.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/1-configuring/jest-custom.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | verbose: true 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/1-configuring/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/1-configuring/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/1-configuring/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/1-configuring/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/1-configuring/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/1-configuring/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/10-global-setup-teardown/index-1.test.js: -------------------------------------------------------------------------------- 1 | test("1", () => { 2 | // expect(__DEV__).toBeUndefined(); 3 | }); 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/10-global-setup-teardown/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/10-global-setup-teardown/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/10-global-setup-teardown/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/10-global-setup-teardown/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/10-global-setup-teardown/setup.js: -------------------------------------------------------------------------------- 1 | module.exports = async () => { 2 | global.__DEV__ = true; 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/10-global-setup-teardown/teardown.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/10-global-setup-teardown/teardown.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/11-module-directories/custom_node_modules/custom-module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/11-module-directories/custom_node_modules/custom-module.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/11-module-directories/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/11-module-directories/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/11-module-directories/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/11-module-directories/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/11-module-directories/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/11-module-directories/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/12-module-file-extensions/custom_node_modules/custom-module.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | value: "js" 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/12-module-file-extensions/custom_node_modules/custom-module.json: -------------------------------------------------------------------------------- 1 | { 2 | "value": "json" 3 | } 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/12-module-file-extensions/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/12-module-file-extensions/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/12-module-file-extensions/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/12-module-file-extensions/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/12-module-file-extensions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/12-module-file-extensions/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/13-module-name-mapper/image-stub.js: -------------------------------------------------------------------------------- 1 | module.exports = "image-stub"; 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/13-module-name-mapper/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/13-module-name-mapper/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/13-module-name-mapper/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/13-module-name-mapper/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/13-module-name-mapper/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/13-module-name-mapper/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/14-module-paths-and-ignore/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/14-module-paths-and-ignore/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/14-module-paths-and-ignore/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/14-module-paths-and-ignore/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/14-module-paths-and-ignore/src/accept/custom-utils.js: -------------------------------------------------------------------------------- 1 | module.exports = "custom-utils"; 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/14-module-paths-and-ignore/src/accept/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/14-module-paths-and-ignore/src/accept/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/14-module-paths-and-ignore/src/ignore/custom-utils.js: -------------------------------------------------------------------------------- 1 | module.exports = "custom-utils"; 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/14-module-paths-and-ignore/src/ignore/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/14-module-paths-and-ignore/src/ignore/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/15-notify/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/15-notify/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/15-notify/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/15-notify/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/15-notify/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/15-notify/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/16-preset/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/16-preset/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/16-preset/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/16-preset/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/16-preset/notify-preset/jest-preset.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | notify: true 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/16-preset/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/16-preset/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/17-projects/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/17-projects/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/17-projects/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/17-projects/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/17-projects/project-1/index.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/17-projects/project-1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/17-projects/project-1/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/17-projects/project-2/index.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/17-projects/project-2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/17-projects/project-2/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/18-custom-reporters/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/18-custom-reporters/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/18-custom-reporters/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/18-custom-reporters/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/18-custom-reporters/my-custom-reporter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/18-custom-reporters/my-custom-reporter.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/18-custom-reporters/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/18-custom-reporters/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/19-reset-mocks/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/19-reset-mocks/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/19-reset-mocks/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | resetMocks: true 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/19-reset-mocks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/19-reset-mocks/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/19-reset-mocks/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/19-reset-mocks/utils.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/2-automock/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/2-automock/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/2-automock/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | automock: true 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/2-automock/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/2-automock/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/2-automock/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/2-automock/utils.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/20-reset-modules/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/20-reset-modules/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/20-reset-modules/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/20-reset-modules/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/20-reset-modules/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/20-reset-modules/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/20-reset-modules/stateful.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/20-reset-modules/stateful.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/21-resolver/foo.js: -------------------------------------------------------------------------------- 1 | module.exports = "foo"; 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/21-resolver/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/21-resolver/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/21-resolver/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/21-resolver/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/21-resolver/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/21-resolver/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/21-resolver/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/21-resolver/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/21-resolver/resolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/21-resolver/resolver.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/22-restore-mocks/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/22-restore-mocks/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/22-restore-mocks/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | restoreMocks: true 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/22-restore-mocks/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/22-restore-mocks/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/22-restore-mocks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/22-restore-mocks/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/23-root-dir/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/23-root-dir/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/23-root-dir/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/23-root-dir/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/23-root-dir/src/index-1.test.js: -------------------------------------------------------------------------------- 1 | test("1", () => { 2 | // expect(__DEV__).toBeUndefined(); 3 | }); 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/23-root-dir/src/setup.js: -------------------------------------------------------------------------------- 1 | module.exports = async () => { 2 | console.log("GLOBAL SETUP"); 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/23-root-dir/src/teardown.js: -------------------------------------------------------------------------------- 1 | module.exports = async function() { 2 | console.log("GLOBAL TEARDOWN"); 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/24-roots/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/24-roots/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/24-roots/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/24-roots/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/24-roots/src/index-2.test.js: -------------------------------------------------------------------------------- 1 | test("2", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/24-roots/tests/index-1.test.js: -------------------------------------------------------------------------------- 1 | test("1", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/25-runner/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/25-runner/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/25-runner/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/25-runner/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/25-runner/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/25-runner/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/25-runner/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/25-runner/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/globalSetup.js: -------------------------------------------------------------------------------- 1 | module.exports = async () => { 2 | console.log("GLOBAL SETUP"); 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/globalTeardown.js: -------------------------------------------------------------------------------- 1 | module.exports = async function() { 2 | console.log("GLOBAL TEARDOWN"); 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/index-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/index-1.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/index-2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/index-2.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/setup.js: -------------------------------------------------------------------------------- 1 | console.log("SETUP"); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/26-setup-files-and-setup-files-after-env/setupAfterEnv.js: -------------------------------------------------------------------------------- 1 | console.log("SETUP AFTER ENV"); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/27-snapshot-resolver/__snapshots__/subdir/index.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/27-snapshot-resolver/__snapshots__/subdir/index.test.js.snap -------------------------------------------------------------------------------- /jest/28-configuring-jest/27-snapshot-resolver/__tests__/subdir/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/27-snapshot-resolver/__tests__/subdir/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/27-snapshot-resolver/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/27-snapshot-resolver/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/27-snapshot-resolver/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/27-snapshot-resolver/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/27-snapshot-resolver/snapshot-resolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/27-snapshot-resolver/snapshot-resolver.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/28-snapshot-serializer/__snapshots__/index.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/28-snapshot-serializer/__snapshots__/index.test.js.snap -------------------------------------------------------------------------------- /jest/28-configuring-jest/28-snapshot-serializer/custom-snapshot-serializer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/28-snapshot-serializer/custom-snapshot-serializer.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/28-snapshot-serializer/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/28-snapshot-serializer/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/28-snapshot-serializer/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/28-snapshot-serializer/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/28-snapshot-serializer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/28-snapshot-serializer/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/29-test-environment/custom-environment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/29-test-environment/custom-environment.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/29-test-environment/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/29-test-environment/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/29-test-environment/jsdom.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/29-test-environment/jsdom.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/29-test-environment/node.test.js: -------------------------------------------------------------------------------- 1 | test("node", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/29-test-environment/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/29-test-environment/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/29-test-environment/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/29-test-environment/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/3-bail/index-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/3-bail/index-1.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/3-bail/index-2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/3-bail/index-2.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/3-bail/index-3.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/3-bail/index-3.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/3-bail/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | bail: true // 1 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/3-bail/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/3-bail/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/30-test-match/__secret_tests__/secret.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/30-test-match/__secret_tests__/secret.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/30-test-match/index.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/30-test-match/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/30-test-match/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/30-test-match/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/30-test-match/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/31-result-processor/index.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/31-result-processor/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/31-result-processor/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/31-result-processor/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/31-result-processor/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/31-result-processor/processor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/31-result-processor/processor.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/32-test-sequencer/custom-sequencer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/32-test-sequencer/custom-sequencer.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/32-test-sequencer/index-1.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/32-test-sequencer/index-2.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/32-test-sequencer/index-3.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/32-test-sequencer/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/32-test-sequencer/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/32-test-sequencer/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/32-test-sequencer/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/32-test-sequencer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/32-test-sequencer/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/33-test-url/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/33-test-url/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/33-test-url/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | testURL: "https://scaffoldhub.io" 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/33-test-url/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/33-test-url/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/34-timers/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/34-timers/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/34-timers/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | timers: "fake" 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/34-timers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/34-timers/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/35-transformers/custom-transformer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/35-transformers/custom-transformer.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/35-transformers/ignore-me.not-test.js: -------------------------------------------------------------------------------- 1 | module.exports = "To be ignored"; 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/35-transformers/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/35-transformers/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/35-transformers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/35-transformers/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/35-transformers/transform-me.not-test.js: -------------------------------------------------------------------------------- 1 | module.exports = "To be transformed"; 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/36-unmocked-module-path-patterns/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/36-unmocked-module-path-patterns/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/36-unmocked-module-path-patterns/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/36-unmocked-module-path-patterns/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/36-unmocked-module-path-patterns/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/36-unmocked-module-path-patterns/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/37-verbose/index-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/37-verbose/index-1.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/37-verbose/index.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/37-verbose/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/37-verbose/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/38-watch-plugins/custom-watch-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/38-watch-plugins/custom-watch-plugin.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/38-watch-plugins/ignore-me.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/38-watch-plugins/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/38-watch-plugins/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/38-watch-plugins/nok.test.js: -------------------------------------------------------------------------------- 1 | it("nok", () => { 2 | expect(true).toBe(false); 3 | }); 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/38-watch-plugins/ok.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/38-watch-plugins/ok.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/38-watch-plugins/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/38-watch-plugins/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/38-watch-plugins/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/38-watch-plugins/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/4-cache-directory/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/4-cache-directory/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/4-cache-directory/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/4-cache-directory/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/4-cache-directory/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/4-cache-directory/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/4-cache-directory/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/4-cache-directory/utils.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/5-clear-mocks/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/5-clear-mocks/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/5-clear-mocks/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | clearMocks: true 3 | }; 4 | -------------------------------------------------------------------------------- /jest/28-configuring-jest/5-clear-mocks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/5-clear-mocks/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/5-clear-mocks/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/5-clear-mocks/utils.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/__tests__/sum.t.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/__tests__/sum.t.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/clover.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/clover.xml -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/coverage-final.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/coverage-final.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/__tests__/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/__tests__/index.html -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/__tests__/sum.t.js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/__tests__/sum.t.js.html -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/index.html -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/utils-1.js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/utils-1.js.html -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/utils-2.js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/6-collect-coverage/utils-2.js.html -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/base.css -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/block-navigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/block-navigation.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/index.html -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/prettify.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/prettify.css -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/prettify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/prettify.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/sort-arrow-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/sort-arrow-sprite.png -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/sorter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/sorter.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/utils-1.js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/utils-1.js.html -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/utils-2.js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov-report/utils-2.js.html -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/coverageCustom/lcov.info -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/utils-1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/utils-1.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/utils-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/utils-1.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/utils-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/utils-2.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/6-collect-coverage/utils-2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/6-collect-coverage/utils-2.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/7-dependency-extractor/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/7-dependency-extractor/.vscode/launch.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/7-dependency-extractor/dependencyExtractor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/7-dependency-extractor/dependencyExtractor.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/7-dependency-extractor/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/7-dependency-extractor/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/7-dependency-extractor/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/7-dependency-extractor/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/7-dependency-extractor/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/7-dependency-extractor/package-lock.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/7-dependency-extractor/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/7-dependency-extractor/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/7-dependency-extractor/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/7-dependency-extractor/utils.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/8-display-name/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/8-display-name/index.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/8-display-name/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/8-display-name/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/8-display-name/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/8-display-name/package.json -------------------------------------------------------------------------------- /jest/28-configuring-jest/9-global-variable/index-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/9-global-variable/index-1.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/9-global-variable/index-2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/9-global-variable/index-2.test.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/9-global-variable/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/9-global-variable/jest.config.js -------------------------------------------------------------------------------- /jest/28-configuring-jest/9-global-variable/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/28-configuring-jest/9-global-variable/package.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options-detect-open-handles/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options-detect-open-handles/index.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options-detect-open-handles/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: "@shelf/jest-mongodb" 3 | }; 4 | -------------------------------------------------------------------------------- /jest/29-jest-cli-options-detect-open-handles/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options-detect-open-handles/package-lock.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options-detect-open-handles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options-detect-open-handles/package.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options-projects/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options-projects/jest.config.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options-projects/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options-projects/package.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options-projects/project-1/index.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/29-jest-cli-options-projects/project-1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options-projects/project-1/package.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options-projects/project-2/index.test.js: -------------------------------------------------------------------------------- 1 | test("ok", () => {}); 2 | -------------------------------------------------------------------------------- /jest/29-jest-cli-options-projects/project-2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options-projects/project-2/package.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/__snapshots__/snapshot.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/__snapshots__/snapshot.test.js.snap -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/a.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/a.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/b.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/b.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/custom.test.js: -------------------------------------------------------------------------------- 1 | test("custom-spec-name", () => {}); 2 | -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/diff.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/diff.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/error-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/error-1.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/error-2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/error-2.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/ok.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/ok.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/snapshot.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/snapshot.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/__tests__/window.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/__tests__/window.test.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/custom-jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | verbose: true 3 | }; 4 | -------------------------------------------------------------------------------- /jest/29-jest-cli-options/custom-reporter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/custom-reporter.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/custom-sequencer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/custom-sequencer.js -------------------------------------------------------------------------------- /jest/29-jest-cli-options/custom-setup.js: -------------------------------------------------------------------------------- 1 | console.log("Setup"); 2 | -------------------------------------------------------------------------------- /jest/29-jest-cli-options/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/output.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/package-lock.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/29-jest-cli-options/package.json -------------------------------------------------------------------------------- /jest/29-jest-cli-options/src/a.js: -------------------------------------------------------------------------------- 1 | module.exports = "a"; 2 | -------------------------------------------------------------------------------- /jest/29-jest-cli-options/src/b.js: -------------------------------------------------------------------------------- 1 | module.exports = "b"; 2 | -------------------------------------------------------------------------------- /jest/3-testing-asynchronous-code/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/3-testing-asynchronous-code/index.test.js -------------------------------------------------------------------------------- /jest/3-testing-asynchronous-code/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/3-testing-asynchronous-code/jest.config.js -------------------------------------------------------------------------------- /jest/3-testing-asynchronous-code/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/3-testing-asynchronous-code/package-lock.json -------------------------------------------------------------------------------- /jest/3-testing-asynchronous-code/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/3-testing-asynchronous-code/package.json -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/index-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/index-1.test.js -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/index-2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/index-2.test.js -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/index-3.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/index-3.test.js -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/index-4.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/index-4.test.js -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/index-5.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/index-5.test.js -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/index-6.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/index-6.test.js -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/jest.config.js -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/package-lock.json -------------------------------------------------------------------------------- /jest/4-setup-and-teardown/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/4-setup-and-teardown/package.json -------------------------------------------------------------------------------- /jest/5-mock-functions/__snapshots__/index-1.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/5-mock-functions/__snapshots__/index-1.test.js.snap -------------------------------------------------------------------------------- /jest/5-mock-functions/foo.js: -------------------------------------------------------------------------------- 1 | // foo.js 2 | module.exports = function() { 3 | // some implementation; 4 | }; 5 | -------------------------------------------------------------------------------- /jest/5-mock-functions/foo.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/5-mock-functions/foo.test.js -------------------------------------------------------------------------------- /jest/5-mock-functions/index-1.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/5-mock-functions/index-1.test.js -------------------------------------------------------------------------------- /jest/5-mock-functions/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/5-mock-functions/jest.config.js -------------------------------------------------------------------------------- /jest/5-mock-functions/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/5-mock-functions/package-lock.json -------------------------------------------------------------------------------- /jest/5-mock-functions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/5-mock-functions/package.json -------------------------------------------------------------------------------- /jest/5-mock-functions/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/5-mock-functions/users.js -------------------------------------------------------------------------------- /jest/5-mock-functions/users.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/5-mock-functions/users.test.js -------------------------------------------------------------------------------- /jest/6-jest-platform/heavy-task.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/heavy-task.js -------------------------------------------------------------------------------- /jest/6-jest-platform/jest-changed-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/jest-changed-files.js -------------------------------------------------------------------------------- /jest/6-jest-platform/jest-diff.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/jest-diff.js -------------------------------------------------------------------------------- /jest/6-jest-platform/jest-doc-block.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/jest-doc-block.js -------------------------------------------------------------------------------- /jest/6-jest-platform/jest-get-type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/jest-get-type.js -------------------------------------------------------------------------------- /jest/6-jest-platform/jest-validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/jest-validate.js -------------------------------------------------------------------------------- /jest/6-jest-platform/jest-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/jest-worker.js -------------------------------------------------------------------------------- /jest/6-jest-platform/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/jest.config.js -------------------------------------------------------------------------------- /jest/6-jest-platform/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/package-lock.json -------------------------------------------------------------------------------- /jest/6-jest-platform/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/package.json -------------------------------------------------------------------------------- /jest/6-jest-platform/pretty-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/6-jest-platform/pretty-format.js -------------------------------------------------------------------------------- /jest/7-snapshot-testing/link.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/7-snapshot-testing/link.txt -------------------------------------------------------------------------------- /jest/8-timer-mocks/infiniteTimerGame.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/8-timer-mocks/infiniteTimerGame.js -------------------------------------------------------------------------------- /jest/8-timer-mocks/infiniteTimerGame.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/8-timer-mocks/infiniteTimerGame.test.js -------------------------------------------------------------------------------- /jest/8-timer-mocks/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/8-timer-mocks/jest.config.js -------------------------------------------------------------------------------- /jest/8-timer-mocks/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/8-timer-mocks/package-lock.json -------------------------------------------------------------------------------- /jest/8-timer-mocks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/8-timer-mocks/package.json -------------------------------------------------------------------------------- /jest/8-timer-mocks/timerGame.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/8-timer-mocks/timerGame.js -------------------------------------------------------------------------------- /jest/8-timer-mocks/timerGame.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/8-timer-mocks/timerGame.test.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/__mocks__/fs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/__mocks__/fs.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/__mocks__/lodash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/__mocks__/lodash.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/jest.config.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/package-lock.json -------------------------------------------------------------------------------- /jest/9-manual-mocks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/package.json -------------------------------------------------------------------------------- /jest/9-manual-mocks/src/fileSummarizer/__tests__/fileSummarizer.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/src/fileSummarizer/__tests__/fileSummarizer.test.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/src/fileSummarizer/fileSummarizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/src/fileSummarizer/fileSummarizer.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/src/lodash/__tests__/lodash.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/src/lodash/__tests__/lodash.test.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/src/matchMedia/matchMedia.mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/src/matchMedia/matchMedia.mock.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/src/matchMedia/matchMedia.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/src/matchMedia/matchMedia.test.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/src/users/__mocks__/user.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | name: "Mock User" 3 | }; 4 | -------------------------------------------------------------------------------- /jest/9-manual-mocks/src/users/__tests__/user.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipepastorelima/react-ecosystem-a-z/HEAD/jest/9-manual-mocks/src/users/__tests__/user.test.js -------------------------------------------------------------------------------- /jest/9-manual-mocks/src/users/user.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | name: "Real User" 3 | }; 4 | --------------------------------------------------------------------------------