A Karma plugin. Displays test results on the TouchBar.
Make sure you're on macOS 10.13, have Xcode 9 and node installed. karma-touchbar-reporter uses a helper program to interface with the TouchBar. To compile the helper simply cd into the directory and run npm i.
cd karma-touchbar-reporter
npm iThe following options can be specified in your karma configuration under the key "touchbarReporter". See example/karma.conf.js project for an example.
| Option | Default | Effect |
|---|---|---|
| name | "name" in package.json |
Customize the name shown in the TouchBar popover. |
- Find proper icon for control strip item
- Properly layout progress on larger test suites
- Tap failed test to open failed expectation or reveal error message
