{"id":15780393,"url":"https://github.com/ulisesgascon/workshop-jest","last_synced_at":"2025-03-31T16:35:04.361Z","repository":{"id":72138523,"uuid":"289856001","full_name":"UlisesGascon/workshop-jest","owner":"UlisesGascon","description":"Jest Workshop","archived":false,"fork":false,"pushed_at":"2020-08-25T14:29:03.000Z","size":26,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T20:02:26.262Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UlisesGascon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-24T07:17:28.000Z","updated_at":"2022-03-14T07:06:39.000Z","dependencies_parsed_at":"2023-07-06T22:32:41.923Z","dependency_job_id":null,"html_url":"https://github.com/UlisesGascon/workshop-jest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UlisesGascon%2Fworkshop-jest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UlisesGascon%2Fworkshop-jest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UlisesGascon%2Fworkshop-jest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UlisesGascon%2Fworkshop-jest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UlisesGascon","download_url":"https://codeload.github.com/UlisesGascon/workshop-jest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246498491,"owners_count":20787326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T18:41:27.093Z","updated_at":"2025-03-31T16:35:04.337Z","avatar_url":"https://github.com/UlisesGascon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# workshop-jest\nJest Workshop\n\n## Content\n\n### Installation and scripts\n\nInstallation\n\n```\nnpm i -D jest\n```\n\nNpm Scripts\n\n```\n\"test\": \"jest  --verbose ./**/*.test.js\",\n\"test:coverage\": \"jest --verbose ./**/*.test.js --coverage\",\n\"test:watch\": \"jest --verbose ./**/*.test.js --watchAll\",\n```\n\n\n### Using Matchers\n\n- [Documentation](https://jestjs.io/docs/en/using-matchers)\n- [Samples](__test__/matchers.test.js)\n\n### Testing Asynchronous Code\n\n- [Documentation](https://jestjs.io/docs/en/asynchronous)\n- [Samples](__tests__/async_code.test.js)\n\n### Setup and Teardown\n\n- [Documentation](https://jestjs.io/docs/en/setup-teardown)\n- [Samples](__tests__/setup_and_teardown.test.js)\n\n### Snapshot Testing\n\n- [Documentation](https://jestjs.io/docs/en/snapshot-testing)\n- [Samples](__tests__/snapshots.test.js)\n\n### Mock Functions\n\n- [Documentation](https://jestjs.io/docs/en/mock-functions)\n- [Samples](__tests__/mock_functions.test.js)\n\n### Mocking Modules\n\n- [Documentation (partial)](https://jestjs.io/docs/en/manual-mocks)\n- [Samples](__tests__/mocking_modules.test.js)\n\n## Other\n\n### More Topics\n\n- [Jest | Using with puppeteer](https://jestjs.io/docs/en/puppeteer)\n- [Jest | Using with MongoDB](https://jestjs.io/docs/en/mongodb)\n- [Jest | Using with DynamoDB](https://jestjs.io/docs/en/mongodb)\n- [Jest | DOM Manipulation (JQuery)](https://jestjs.io/docs/en/tutorial-jquery)\n- [Jest | ES6 Class Mocks](https://jestjs.io/docs/en/es6-class-mocks)\n- [Jest | Timer Mocks](https://jestjs.io/docs/en/timer-mocks)\n- [Jest | Testing React Apps](https://jestjs.io/docs/en/tutorial-react)\n\n### Resources\n- [jest-community/awesome-jest](https://github.com/jest-community/awesome-jest)\n- [sapegin/jest-cheat-sheet](https://github.com/sapegin/jest-cheat-sheet)\n- [kentcdodds/react-jest-workshop](https://github.com/kentcdodds/react-jest-workshop)\n\n### Videos\n- [Jest Architecture by Christoph Nakazawa](https://www.youtube.com/watch?v=3YDiloj8_d0\u0026feature=emb_title)\n- [Test React applications using Enzyme \u0026 Jest by Ryan Walsh](https://www.youtube.com/watch?v=8Ww2QBVIw0I)\n- [Snapshot testing by Anna Doubkova](https://www.youtube.com/watch?v=sCbGfi40IWk)\n- [Establishing Testing Patterns with Software Design Principles by Aaron Abramov](https://www.youtube.com/watch?v=_pnW-JjmyXE)\n- [Jest Snapshots and Beyond by Rogelio Guzman](https://www.youtube.com/watch?v=HAuXJVI_bUs)\n\n### Tooling\n\n- [keplersj/jest-serializer-xml](https://github.com/keplersj/jest-serializer-xml)\n- [satya164/jest-file-snapshot](https://github.com/satya164/jest-file-snapshot)\n- [americanexpress/jest-image-snapshot](https://github.com/americanexpress/jest-image-snapshot)\n- [americanexpress/jest-json-schema](https://github.com/americanexpress/jest-json-schema)\n- [smooth-code/jest-puppeteer](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/expect-puppeteer)\n- [FormidableLabs/enzyme-matchers](https://github.com/FormidableLabs/enzyme-matchers/tree/master/packages/jest-enzyme)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulisesgascon%2Fworkshop-jest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulisesgascon%2Fworkshop-jest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulisesgascon%2Fworkshop-jest/lists"}