{"id":23391440,"url":"https://github.com/ahrefs/melange-fest","last_synced_at":"2026-03-12T23:03:29.340Z","repository":{"id":206160411,"uuid":"715972604","full_name":"ahrefs/melange-fest","owner":"ahrefs","description":"A minimal test framework for Melange using Node test runner","archived":false,"fork":false,"pushed_at":"2026-03-12T13:59:02.000Z","size":678,"stargazers_count":15,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-12T19:57:15.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ahrefs.github.io/melange-fest/","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/ahrefs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-08T08:00:05.000Z","updated_at":"2025-10-26T14:57:43.000Z","dependencies_parsed_at":"2025-04-11T09:59:45.815Z","dependency_job_id":"cf3ebe2d-7fec-4474-ba60-44397b43f2d1","html_url":"https://github.com/ahrefs/melange-fest","commit_stats":null,"previous_names":["jchavarri/melange-fest","ahrefs/melange-fest"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ahrefs/melange-fest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-fest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-fest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-fest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-fest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahrefs","download_url":"https://codeload.github.com/ahrefs/melange-fest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-fest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30448603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T21:31:01.033Z","status":"ssl_error","status_checked_at":"2026-03-12T21:30:43.161Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-12-22T04:17:28.389Z","updated_at":"2026-03-12T23:03:29.299Z","avatar_url":"https://github.com/ahrefs.png","language":"OCaml","funding_links":[],"categories":["Reason"],"sub_categories":["Libraries"],"readme":"# melange-fest\n\nA minimal test framework for Melange using [Node test\nrunner](https://nodejs.org/api/test.html).\n\n## Quick Start\n\n```reason\nopen Fest\n\ntest(\"1+1=2\", () =\u003e expect |\u003e equal(1 + 1, 2));\n```\n\n### React\n\nReact support is provided by\n[`reason-react`](https://github.com/reasonml/reason-react/).\n\n```reason\nopen Fest;\nmodule RTL = ReactTestingLibrary;\n[@mel.get] external textContent: Dom.element =\u003e string = \"textContent\";\n\nDomloader.init();\n\nmodule Hello = {\n  [@react.component]\n  let make = (~text) =\u003e \u003cdiv\u003e {\"Hello \" ++ text |\u003e React.string} \u003c/div\u003e;\n};\n\nlet () =\n  test(\"test component\", () =\u003e {\n    let result = RTL.render(\u003cHello text=\"Nila\" /\u003e);\n\n    // Check that Hello component renders the name properly.\n    let el = RTL.getByText(~matcher=`Str(\"Hello Nila\"), result);\n    expect |\u003e equal(textContent(el), \"Hello Nila\");\n  });\n```\n\n## Commands\n\nRun all tests:\n\n```bash\nmake test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahrefs%2Fmelange-fest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahrefs%2Fmelange-fest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahrefs%2Fmelange-fest/lists"}