{"id":19846944,"url":"https://github.com/aldoignatachandra/javascript-simpleunittesting","last_synced_at":"2026-02-18T20:06:46.219Z","repository":{"id":44213046,"uuid":"237200492","full_name":"aldoignatachandra/Javascript-SimpleUnitTesting","owner":"aldoignatachandra","description":"Simple Unit Testing Using Mocha And Chai","archived":false,"fork":false,"pushed_at":"2025-02-18T01:29:02.000Z","size":176,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T08:52:56.862Z","etag":null,"topics":["javascript","mocha-chai","unittesting"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aldoignatachandra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-30T11:38:01.000Z","updated_at":"2025-02-18T01:29:05.000Z","dependencies_parsed_at":"2025-02-28T20:28:54.350Z","dependency_job_id":"c5388bcb-bd38-4c3d-a42b-f3d6607f4fe4","html_url":"https://github.com/aldoignatachandra/Javascript-SimpleUnitTesting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aldoignatachandra/Javascript-SimpleUnitTesting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldoignatachandra%2FJavascript-SimpleUnitTesting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldoignatachandra%2FJavascript-SimpleUnitTesting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldoignatachandra%2FJavascript-SimpleUnitTesting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldoignatachandra%2FJavascript-SimpleUnitTesting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aldoignatachandra","download_url":"https://codeload.github.com/aldoignatachandra/Javascript-SimpleUnitTesting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aldoignatachandra%2FJavascript-SimpleUnitTesting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29594104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"last_error":"SSL_read: 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":["javascript","mocha-chai","unittesting"],"created_at":"2024-11-12T13:13:00.506Z","updated_at":"2026-02-18T20:06:46.175Z","avatar_url":"https://github.com/aldoignatachandra.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSimple Unit Testing\u003cbr\u003e( Javascript )\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSZ3xnQ6fnUpYzkofiVhP5HdoB51OMsZHkmcTaeHkJazBC-A9aj\" width=\"300\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-javascript-yellow?style=for-the-badge\u0026logo=javascript\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Node_JS-green?style=for-the-badge\u0026logo=node.js\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/express-4.17.1-yellow\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/chai-4.2.0-blue\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/mocha-7.0.1-brightgreen\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/supertest-4.0.2-purple\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/nodemon-1.19.4-red\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"justify\"\u003e\n    This repository contains unit testing in javscript using mocha and chai in a simple way to understand about unit testing. This repository contains unit testing use for two different testing, using express (endpoint server) \u0026 pure javascript without express \n\u003c/p\u003e\n\n## Requirments\n\n- **yarn** v1.17+\n- **NodeJS** v8+\n\n## Features\n\n#### Folder Server (With Express)\n\n1. Unit Testing End Point '/' (Check String Response)\n2. Unit Testing End Point '/user' (Check Member In Array)\n3. Unit Testing End Point '/users' (Check Member In Array of Object)\n\n#### Folder Utils (Without Express)\n\n1. Unit Test Add Function (Two Number)\n2. Unit Test Async Add Function (Two Number)\n3. Unit Test Square Function (One Number)\n4. Unit Test Async Square Function (One Number)\n\n## Installation\n\nfor ( Local Version ) :\n\n1. Clone or download this repository\n2. Install the dependencies by running `yarn install`\n3. Make sure you have global installation nodemon in your computer, if not you can install in your project using `yarn add nodemon`\n4. Start the code using `yarn test-watching`\n\n## License\n\n[ISC](https://en.wikipedia.org/wiki/ISC_license \"ISC\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faldoignatachandra%2Fjavascript-simpleunittesting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faldoignatachandra%2Fjavascript-simpleunittesting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faldoignatachandra%2Fjavascript-simpleunittesting/lists"}