{"id":15621563,"url":"https://github.com/raathigesh/majestic","last_synced_at":"2025-05-14T08:08:02.357Z","repository":{"id":38430903,"uuid":"112321084","full_name":"Raathigesh/majestic","owner":"Raathigesh","description":"⚡ Zero config GUI for Jest","archived":false,"fork":false,"pushed_at":"2022-05-03T14:54:05.000Z","size":9970,"stargazers_count":7494,"open_issues_count":51,"forks_count":173,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-05-07T13:02:06.661Z","etag":null,"topics":["developer-experience","developer-tools","jest","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Raathigesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.MD","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-28T10:28:30.000Z","updated_at":"2025-05-05T00:12:05.000Z","dependencies_parsed_at":"2022-06-29T14:00:15.918Z","dependency_job_id":null,"html_url":"https://github.com/Raathigesh/majestic","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raathigesh%2Fmajestic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raathigesh%2Fmajestic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raathigesh%2Fmajestic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raathigesh%2Fmajestic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raathigesh","download_url":"https://codeload.github.com/Raathigesh/majestic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254101558,"owners_count":22014908,"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":["developer-experience","developer-tools","jest","react"],"created_at":"2024-10-03T09:50:33.231Z","updated_at":"2025-05-14T08:08:02.325Z","avatar_url":"https://github.com/Raathigesh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv  align=\"center\"\u003e\n\u003cimg src=\"./image.png\" /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003ca href=\"https://github.com/Raathigesh/majestic/actions\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/workflow/status/Raathigesh/majestic/Node%20CI?style=flat-square\" /\u003e\n\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/github/license/Raathigesh/majestic.svg?style=flat-square\" /\u003e\n\u003cimg src=\"https://img.shields.io/npm/v/majestic.svg?style=flat-square\" /\u003e\n\u003ca href=\"https://spectrum.chat/majestic\"\u003e\n  \u003cimg alt=\"Join the community on Spectrum\" src=\"https://withspectrum.github.io/badge/badge.svg\" /\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\nMajestic is a GUI for [Jest](https://jestjs.io/)\n\n- ✅ Run all the tests or a single file\n- ⏱ Toggle watch mode\n- 📸 Update snapshots\n- ❌ Examine test failures as they happen\n- ⏲ Console.log() to the UI for debugging\n- 🚔 Built-in coverage report\n- 🔍 Search tests\n- 💎 Works with flow and typescript projects\n- 📦 Works with Create react app\n\n\u003e Majestic supports Jest 20 and above\n\n### Get started\n\nRun majestic via `npx` in a project directory\n\n```bash\ncd ./my-jest-project # go into a project with Jest\nnpx majestic # execute majestic\n```\n\nor install Majestic globally via Yarn and run majestic\n\n```bash\nyarn global add majestic # install majestic globally\ncd ./my-jest-project # go into a project with Jest\nmajestic # execute majestic\n```\n\nor install Majestic globally via Npm and run majestic\n\n```bash\nnpm install majestic -g # install majestic globally\ncd ./my-jest-project # go into a project with Jest\nmajestic # execute majestic\n```\n\n### Running as an app\n\nRunning with the `--app` flag will launch Majestic as a chrome app.\n\n### Optional configuration\n\nYou can configure Majestic by adding `majestic` key to `package.json`.\n\n```javascript\n// package.json\n{\n    \"majestic\": {\n        // if majestic fails to find the Jest package, you can provide it here. Should be relative to the package.json\n        \"jestScriptPath\": \"../node_modules/jest/bin/jest.js\",\n        // if you want to pass additional arguments to Jest, do it here\n        \"args\": ['--config=./path/to/config/file/jest.config.js'],\n        // environment variables to pass to the process\n        \"env\": {\n          \"CI\": \"true\"\n        }\n    }\n}\n```\n\n#### Optional configuration in project with multiple Jest configuration files\n\n```javascript\n{\n    \"majestic\": {\n        \"jestScriptPath\": \"../node_modules/jest/bin/jest.js\",\n        \"configs\": {\n          \"config1\": {\n            \"args\": [],\n            \"env\": {}\n          },\n          \"config2\": {\n            \"args\": [],\n            \"env\": {}\n          }\n        }\n    }\n}\n```\n\n### Arguments\n\n`--config` - Will use this config from the list supplied in optional configuration.\n\n`--debug` - Will output extra debug info to console. Helps with debugging.\n\n`--noOpen` - Will prevent from automatically opening the UI url in the browser.\n\n`--port` - Will use this port if available, else Majestic will pick another free port.\n\n`--version` - Will print the version of Majestic and will exit.\n\n### Shortcut keys\n\n`alt+t` - run all tests\n\n`alt+enter` - run selected file\n\n`alt+w` - watch\n\n`alt+s` - search\n\n`escape` - close search\n\n### Troubleshooting\n\nHave a look at some of the [common workarounds](./Troubleshooting.md).\n\n### Contribute\n\nHave a look at the [contribution guide](./CONTRIBUTING.MD).\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://www.duncanbeevers.com\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/7367?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDuncan Beevers\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=duncanbeevers\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/M4cs\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/34947910?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMax Bridgland\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=M4cs\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#ideas-M4cs\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/majestic/issues?q=author%3AM4cs\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=M4cs\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/yurm04\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/4642404?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eYuraima Estevez\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=yurm04\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://jake.nz\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/437471?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJake Crosby\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=jake-nz\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://gavinhenderson.me\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/1359202?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGavin Henderson\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=gavinhenderson\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://briwa.github.io\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/8046636?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ebriwa\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=briwa\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Luanf\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/9099705?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eLuan Ferreira\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=Luanf\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/cse-tushar\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/12570521?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTushar Gupta\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=cse-tushar\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://agu.st/\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/6601142?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAgusti Fernandez\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=agustif\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-agustif\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://blog.42at.com\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/233047?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMoos\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/issues?q=author%3Amoos\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=moos\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=moos\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://maciejzelek.space\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/25805810?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMacZel\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=MacZel\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-MacZel\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/krazylegz\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/36250?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVikram Dighe\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=krazylegz\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/jsmey\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/10177710?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJohn Smey\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=jsmey\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-jsmey\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/majestic/issues?q=author%3Ajsmey\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/BuckAMayzing\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/19292614?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eBuckAMayzing\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=BuckAMayzing\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/majestic/issues?q=author%3ABuckAMayzing\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://rahulakrishna.github.io\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/10240002?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRahul A. Krishna\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=rahulakrishna\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-rahulakrishna\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"#tool-rahulakrishna\" title=\"Tools\"\u003e🔧\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://amilajack.com\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/6374832?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAmila Welihinda\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-amilajack\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/gregveres\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/12899823?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003egregveres\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/issues?q=author%3Agregveres\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=gregveres\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://adamklein.dev\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/889418?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eadam klein\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=adamkleingit\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=adamkleingit\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://www.raphaelbarbazza.com\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/42906704?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRaphaël Barbazza\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=rbarbazz\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://philalsford.com\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/8849355?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePhil Alsford\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Raathigesh/majestic/commits?author=philals\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-enable --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraathigesh%2Fmajestic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraathigesh%2Fmajestic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraathigesh%2Fmajestic/lists"}