@supertape/formatter-time
Version:
š¼ Supertape formatter progress bar
32 lines (21 loc) ⢠784 B
Markdown
# @supertape/formatter-time [![NPM version][NPMIMGURL]][NPMURL]
[NPMIMGURL]: https://img.shields.io/npm/v/@supertape/formatter-time.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@supertape/formatter-time "npm"
š¼[`Supertape`](https://github.com/coderaiser/supertape) formatter shows progress bar.
## Install
```
npm i supertape @supertape/formatter-time
```
## Usage
```
supertape --format time lib
```
## Env Variables
- `CI=1` - disable progress bar
- `SUPERTAPE_TIME=1` - force enable/disable progress bar;
- `SUPERTAPE_TIME_COLOR` - set color of progress bar;
- `SUPERTAPE_TIME_MIN=100` - count of tests to show progress bar;
- `SUPERTAPE_TIME_STACK=1` - force show/hide stack on fail;
- `SUPERTAPE_TIME_CLOCK=ā³` - set clock icon;
## License
MIT