{"id":40712484,"url":"https://github.com/jasdeepkhalsa/jest-unit-testing-examples","last_synced_at":"2026-01-21T12:48:59.342Z","repository":{"id":46739354,"uuid":"125524524","full_name":"jasdeepkhalsa/jest-unit-testing-examples","owner":"jasdeepkhalsa","description":"Jest Unit Testing Examples from beginners to advanced","archived":false,"fork":false,"pushed_at":"2022-12-06T23:25:54.000Z","size":895,"stargazers_count":6,"open_issues_count":15,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T22:17:14.478Z","etag":null,"topics":["dry","fetch","jest","testing","unit-testing"],"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/jasdeepkhalsa.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}},"created_at":"2018-03-16T14:07:23.000Z","updated_at":"2023-08-24T10:54:36.000Z","dependencies_parsed_at":"2023-01-24T12:31:16.907Z","dependency_job_id":null,"html_url":"https://github.com/jasdeepkhalsa/jest-unit-testing-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jasdeepkhalsa/jest-unit-testing-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdeepkhalsa%2Fjest-unit-testing-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdeepkhalsa%2Fjest-unit-testing-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdeepkhalsa%2Fjest-unit-testing-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdeepkhalsa%2Fjest-unit-testing-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasdeepkhalsa","download_url":"https://codeload.github.com/jasdeepkhalsa/jest-unit-testing-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdeepkhalsa%2Fjest-unit-testing-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28633280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dry","fetch","jest","testing","unit-testing"],"created_at":"2026-01-21T12:48:58.814Z","updated_at":"2026-01-21T12:48:59.324Z","avatar_url":"https://github.com/jasdeepkhalsa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Jest Unit Testing Examples\n\nWelcome to the world of [Jest](https://facebook.github.io/jest/) testing!\n\nOur mission is to break you into this world gently. So let's begin...\n\n## Pre-requisites\n* You will need to have access to the command-line, for Linux/Mac a Terminal or on Windows it will be a command prompt (`cmd`)\n* You will need to have git installed: http://git-scm.com/downloads\n* NodeJS \u0026 npm - https://nodejs.org **or** via NVM (https://github.com/creationix/nvm)\n* yarn [optional] - https://yarnpkg.com\n\n## Download\n\nJust use `git` to clone the ssh version:\n\n    git clone git@github.com:jhbsk/jest-unit-testing-examples.git\n\n**Or** use `git` to clone the https version:\n\n\tgit clone https://github.com/jhbsk/jest-unit-testing-examples.git\n\n**Or** download the .zip archive and unzip it to the folder `jest-unit-testing-examples`:\n\n\thttps://github.com/jhbsk/jest-unit-testing-examples/archive/master.zip\n\n## Installation\n\nOn the command-line or Terminal, navigate to the root of the directory which you downloaded and run:\n\n* If you have npm: `npm install`\n* If you have yarn: `yarn install`\n\n## Running tests\n\nHere are a few commands you should now be able to run:\n\n* Run Jest tests once: `npm test` or `yarn test`\n* Run Jest in watch mode (great for TDD): `npm run test:watch` or `yarn test:watch`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasdeepkhalsa%2Fjest-unit-testing-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasdeepkhalsa%2Fjest-unit-testing-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasdeepkhalsa%2Fjest-unit-testing-examples/lists"}