Still WIP. Not published to npm yet.
Majestic is a GUI for Jest
- ✅ Run all the tests or a single file
- ⏱ Toggle watch mode
- 📸 Update snapshots
- ❌ Examine test failures as they happen
- 🔍 Search tests
Get started
Run majestic via npx
in a project directory
cd ./my-jest-project
npx majestic
or install Majestic globally via Yarn and run majestic
yarn global add majestic
cd ./my-jest-project
majestic
or install Majestic globally via Npm and run majestic
npm install majestic -g
cd ./my-jest-project
majestic
Running as app
Running with the --app
flag will launch Majestic as a chrome app.
Optional configuration
You can configure Majestic by adding majestic
key to package.json
.
{
"majestic": {
jestScriptPath: "../node_modules/jest/bin/jest.js",
args: [],
env: {}
}
}
Contribute
Preparing dev environment
yarn install
to install dev dependencies
Running and building the library
yarn ui
will start the webpack dev serveryarn server
will start the node server or just hit F5
in VS Code
License
MIT