{"id":19700517,"url":"https://github.com/draftbit/re-jest","last_synced_at":"2026-03-09T22:33:02.085Z","repository":{"id":40756928,"uuid":"278708099","full_name":"draftbit/re-jest","owner":"draftbit","description":"Easier bindings to Jest for ReasonML","archived":false,"fork":false,"pushed_at":"2024-10-17T10:10:41.000Z","size":1006,"stargazers_count":12,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-23T01:13:54.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Reason","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/draftbit.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-10T18:39:50.000Z","updated_at":"2024-11-05T00:44:43.000Z","dependencies_parsed_at":"2025-10-05T00:40:41.483Z","dependency_job_id":"23ef38d8-8633-471e-9bdb-5f0cdbb75c41","html_url":"https://github.com/draftbit/re-jest","commit_stats":null,"previous_names":["adnelson/re-jest"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/draftbit/re-jest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftbit%2Fre-jest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftbit%2Fre-jest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftbit%2Fre-jest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftbit%2Fre-jest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/draftbit","download_url":"https://codeload.github.com/draftbit/re-jest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/draftbit%2Fre-jest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30314631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-11T21:06:17.992Z","updated_at":"2026-03-09T22:33:02.061Z","avatar_url":"https://github.com/draftbit.png","language":"Reason","funding_links":[],"categories":[],"sub_categories":[],"readme":"# re-jest\n\n## Jest bindings in ReasonML\n\nThis is a set of bindings to `jest` in ReasonML, It aims to be simpler to use than `bs-jest`, with most functions returning `unit`, enabling a developer to write their tests with the same approach they would take writing them in JavaScript, but without needing to leave the type safety of ReasonML.\n\n```reason\ndescribe(\"myTests\", () =\u003e {\n  test(\"numbers\", () =\u003e {\n    let myNumber = 123;\n    expect(myNumber)-\u003etoBeGreaterThan(100);\n    expect(myNumber)-\u003enot-\u003etoBeLessThanOrEqual(1);\n\n    // It also works for floats...\n    expect(myNumber-\u003efloat_of_int)-\u003etoBeLessThan(124.0);\n  });\n\n  testAsync(\"promises\", () =\u003e {\n    expect(Js.Promise.resolve(123))-\u003eresolves-\u003etoEqual(123);\n  });\n\n  test(\"arrays\", () =\u003e {\n    expect([|1, 2, 3, 4, 5|])-\u003etoContain(4);\n  });\n\n  // Still working on this one...\n  Skip.test(\"billion dollar idea generator\",\n    () =\u003e\n      expect(generateBillionDollarCompany()-\u003evaluation)\n      -\u003etoBeGreaterThan(1000000000)\n  );\n});\n```\n\n## Stability\n\nVery much a work in progress, but nonetheless it can do enough to test plenty of existing code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdraftbit%2Fre-jest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdraftbit%2Fre-jest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdraftbit%2Fre-jest/lists"}