npm install --save-dev start-karma
# or
yarn add --dev start-karma
import start from 'start';
import reporter from 'start-pretty-reporter';
import karma from 'start-karma';
export const test = () => start(reporter())
karma(require('karma.conf'))
);
See documentation for details.
karma(config)
config
– karma config