{"id":20744267,"url":"https://github.com/mathjax/mathjax-tests","last_synced_at":"2026-04-18T23:05:04.148Z","repository":{"id":39177824,"uuid":"309346171","full_name":"mathjax/MathJax-Tests","owner":"mathjax","description":"Tests Repository for MathJax","archived":false,"fork":false,"pushed_at":"2023-07-17T15:06:40.000Z","size":541,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-18T02:27:43.456Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathjax.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-11-02T11:13:39.000Z","updated_at":"2022-06-08T14:47:24.000Z","dependencies_parsed_at":"2024-11-17T07:14:55.245Z","dependency_job_id":"f1c3325d-4d4e-4147-902f-54db54503ee2","html_url":"https://github.com/mathjax/MathJax-Tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-Tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-Tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-Tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-Tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathjax","download_url":"https://codeload.github.com/mathjax/MathJax-Tests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243039584,"owners_count":20226131,"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-11-17T07:14:51.902Z","updated_at":"2025-12-24T23:03:20.857Z","avatar_url":"https://github.com/mathjax.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MathJax Tests\n__Tests Repository for MathJax version 3.0 and above.__\n\n\n## Tests\n\nWe use [Jest](https://jestjs.io) as test framework.\n\n### Running Tests\n\nJust go to the root of this repository and run the following two commands:\n\n``` shell\nnpm install\nnpm test\n```\n\nTeX parser tests in particular are run with the command:\n\n``` shell\nnpx jest src/parser.test.js\n```\n\nTo only test a single file run\n\n``` shell\nnpx jest src/parser.test.js json/FILE.json\n```\n\nTests initially run against `mathjax-full` package. They can be run against your\nlocal repository by rerouting the `js` and `es5` directories.\n\n### Test Format\n\nTests are provided in a JSON test format.\n\n\n``` json\n{\n  \"name\": NameOfTest,\n  \"factory\": TestFactory,\n  \"tests\": {\n    \"TEST1\": {\n    \"input\": INPUT\n    \"expected\": EXPECTED\n    ...rest\n    }\n    ...more tests\n  }\n}\n\n```\n\nTo add new tests, simply add a new `.json` file in the `json` sub-directory. For\nnew test classes add a new entry in `src/test-factory.js`.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathjax%2Fmathjax-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathjax%2Fmathjax-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathjax%2Fmathjax-tests/lists"}