{"id":16444867,"url":"https://github.com/kanzatahreem/jest-testing","last_synced_at":"2026-04-15T20:05:04.950Z","repository":{"id":150226035,"uuid":"545447107","full_name":"KanzaTahreem/Jest-Testing","owner":"KanzaTahreem","description":"Wrote a few practical tests for JavaScript functions using the Jest library by following the AAA pattern to make your tests easier for other developers to read and understand. Used the TDD approach in practice.","archived":false,"fork":false,"pushed_at":"2022-12-01T09:50:45.000Z","size":109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T22:38:15.904Z","etag":null,"topics":["javascript","jest","tdd","unit-testing"],"latest_commit_sha":null,"homepage":"","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/KanzaTahreem.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":"2022-10-04T11:43:45.000Z","updated_at":"2022-12-01T09:18:39.000Z","dependencies_parsed_at":"2023-05-01T16:46:33.093Z","dependency_job_id":null,"html_url":"https://github.com/KanzaTahreem/Jest-Testing","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/KanzaTahreem%2FJest-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanzaTahreem%2FJest-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanzaTahreem%2FJest-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanzaTahreem%2FJest-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KanzaTahreem","download_url":"https://codeload.github.com/KanzaTahreem/Jest-Testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240816537,"owners_count":19862305,"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":["javascript","jest","tdd","unit-testing"],"created_at":"2024-10-11T09:42:24.733Z","updated_at":"2026-04-15T20:05:04.919Z","avatar_url":"https://github.com/KanzaTahreem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/Microverse-blueviolet)\n\n# Jest Testing\n\n\u003e Wrote a few practical tests for JavaScript functions using the [Jest](https://jestjs.io/) library by folowing the [AAA pattern](https://github.com/goldbergyoni/javascript-testing-best-practices#-%EF%B8%8F-12-structure-tests-by-the-aaa-pattern) to make your tests easier for other developers to read and understand. Applied [Test Driven Development](https://medium.com/@gondy/the-importance-of-test-driven-development-f80b0d02edd8) (TDD) approach in practice. Tested the functions for\n\n- _[String Length](https://github.com/KanzaTahreem/Jest-Testing/blob/main/tests/stringlength.test.js)_\n- _[Resvere String](https://github.com/KanzaTahreem/Jest-Testing/blob/main/tests/reversestring.test.js)_\n- _[Simple Calculator](https://github.com/KanzaTahreem/Jest-Testing/blob/main/tests/calculator.test.js)_\n- _[Capitalize a String](https://github.com/KanzaTahreem/Jest-Testing/blob/main/tests/capitalize.test.js)_\n\n## Built With\n\n- HTML\n- CSS\n- JavaScript\n- Webpack\n\n## Getting Started\n\nTo get a local copy, run the fllowing command.\n\n- `git clone git@github.com:KanzaTahreem/Jest-Testing.git`\n\n### Prerequisites\n\n- node.js (10.13.0 (LTS))\n- git\n\n### Install\n\n- `npm install`\n\n### Usage\n\n- `npm start`\n\n## Authors\n\n👤 **Author**\n\n- GitHub: [@KanzaTahreem](https://github.com/KanzaTahreem)\n- Twitter: [@kanza_tahreem](https://twitter.com/kanza_tahreem)\n- LinkedIn: [LinkedIn](https://www.linkedin.com/in/kanza-tahreem/)\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## 📝 License\n\nThis project is [MIT](./LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanzatahreem%2Fjest-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanzatahreem%2Fjest-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanzatahreem%2Fjest-testing/lists"}