karma-socket-reporter
Simple karma reporter that sends suit results over socket connection
Installation
You can simply install karma-socket-reporter
as a devDependency by:
npm install karma-socket-reporter --save-dev
Configuration
// karma.conf.jsmodule { config;};
You can pass a list of reporters as a CLI argument too:
karma start --reporters socket
Options
You can specify options in the karma conf file:
- host (default: '127.0.0.1')
- port (default: '4444')
- ok Message to send (default: 'ok')
- ko message to send (default: 'ko')
- started Message to send (default: 'start')
- skip message to send (default: 'skip')
Reporters sends a stringified object: { type: Message Type (ex: 'ko'), msg: { name: Test Name, msg: Jasmine Result } }