{"id":18519766,"url":"https://github.com/reasonml-community/bs-mocha","last_synced_at":"2025-04-09T09:32:18.928Z","repository":{"id":51959078,"uuid":"118512225","full_name":"reasonml-community/bs-mocha","owner":"reasonml-community","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-08T18:33:49.000Z","size":61,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-07T13:23:24.365Z","etag":null,"topics":["bucklescript","mocha","reason"],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/reasonml-community.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-01-22T20:38:58.000Z","updated_at":"2022-09-22T01:34:19.000Z","dependencies_parsed_at":"2022-08-23T16:31:04.570Z","dependency_job_id":null,"html_url":"https://github.com/reasonml-community/bs-mocha","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml-community%2Fbs-mocha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml-community%2Fbs-mocha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml-community%2Fbs-mocha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml-community%2Fbs-mocha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reasonml-community","download_url":"https://codeload.github.com/reasonml-community/bs-mocha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248012533,"owners_count":21033218,"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":["bucklescript","mocha","reason"],"created_at":"2024-11-06T17:17:20.446Z","updated_at":"2025-04-09T09:32:18.550Z","avatar_url":"https://github.com/reasonml-community.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bs-mocha\n\nBucklescript bindings for mocha\n\n## Install \n\n```\nnpm install bs-mocha --save-dev \n```\n\n## Usage \n\n```reason\nopen BsMocha;\nlet (it', it_skip') = Async.(it, it_skip);\nopen Mocha;\n\ndescribe(\"Some Test Suite\", () =\u003e {\n  describe(\"List.map\", () =\u003e {\n    it(\"should map the values\", () =\u003e\n      Assert.deep_equal(List.map(( * )(2), [1, 2, 3]), [2, 4, 6])\n    );\n\n    it(\"should work with an empty list\", () =\u003e\n      Assert.equal(List.map(( * )(2), []), [])\n    );\n  })\n});\n```\n\n## License \nSee `LICENSE`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freasonml-community%2Fbs-mocha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freasonml-community%2Fbs-mocha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freasonml-community%2Fbs-mocha/lists"}