{"id":17513541,"url":"https://github.com/simandebvu/javascript-unit-testing-practice","last_synced_at":"2025-03-28T22:26:20.209Z","repository":{"id":124353936,"uuid":"290277634","full_name":"simandebvu/javascript-unit-testing-practice","owner":"simandebvu","description":"Practicing JavaScript Unit Testing Using Jest.","archived":false,"fork":false,"pushed_at":"2020-08-27T10:13:35.000Z","size":571,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2025-02-03T08:50:06.092Z","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/simandebvu.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-25T17:19:16.000Z","updated_at":"2020-09-02T14:10:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"19f0d785-74cb-4ba7-8721-7b90472b2583","html_url":"https://github.com/simandebvu/javascript-unit-testing-practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"simandebvu/readme-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simandebvu%2Fjavascript-unit-testing-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simandebvu%2Fjavascript-unit-testing-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simandebvu%2Fjavascript-unit-testing-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simandebvu%2Fjavascript-unit-testing-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simandebvu","download_url":"https://codeload.github.com/simandebvu/javascript-unit-testing-practice/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246108081,"owners_count":20724657,"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-20T06:46:43.430Z","updated_at":"2025-03-28T22:26:20.169Z","avatar_url":"https://github.com/simandebvu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PROJECT: TESTING PRACTICE\n\n\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/simandebvu/javascript-unit-testing-practice\"\u003e\n    \u003cimg src=\"js-image.png\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eJEST : Testing \u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Testing with JEST.\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/simandebvu/javascript-unit-testing-practice\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/simandebvu/javascript-unit-testing-practice/issues/\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/simandebvu/javascript-unit-testing-practice/\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003e Writing tests for the following functions, and then make the tests pass!\n\n- `capitalize(string)` takes a string and returns that string with the first character capitalized.\n- `reverseString(string)` takes a string and returns it reversed.\n- A `calculator` object that contains the basic operations: `add, subtract, divide,` and `multiply`.\n- Caesar Cipher.\n- Array Analysis. Write a function that takes an array of numbers and returns an object with the following properties: `average, min, max,` and `length`.\n\n![screenshot](./app-screenshot.gif)\n\n## Built With\n\n- Javascript\n- Node\n- Jest\n- VSCode\n- ESLint\n- Stylelint\n- Github Actions\n\n## Prerequisites\n\n- Node ^10\n- npm ^6\n  \n## Running Locally\n\nClone the repo:\n\n`git clone https://github.com/simandebvu/javascript-unit-testing-practice.git`\n\nInside the root folder of the project, install the node packages:\n\n`npm install`\n\nGo to the root folder and run the npm server script:\n\n`npm test`\n  \n## Authors\n\n👤 **Shingirayi Mandebvu**\n\n- Github: [@simandebvu](https://github.com/simandebvu)\n- Twitter: [@simandebvu](https://twitter.com/simandebvu)\n- Linkedin: [linkedin](https://linkedin.com/in/simandebvu)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\nFeel free to check the [issues page](issues/).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n- Microverse\n\n## 📝 License\n\nThis project is [MIT](lic.url) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimandebvu%2Fjavascript-unit-testing-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimandebvu%2Fjavascript-unit-testing-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimandebvu%2Fjavascript-unit-testing-practice/lists"}