karma-mocha-own-reporter

2018-10-12 admin

karma-mocha-own-reporter是什么

什么是karma-mocha-own-reporter,Karma plugin to make possible to use Mocha own reporters.

karma-mocha-own-reporter使用教程帮助文档

Karma Mocha Own Reporter

Build Status

Karma plugin to make possibble to use Mocha own reporters (including diff output).

You should use karma-mocha plugin and any decent assertion library (expect.js, chai, etc).

Installation

npm install karma-mocha-own-reporter --save-dev

Configuration

karma.conf.js

{
    reporters: ["mocha-own"],

    mochaOwnReporter: {
        reporter: 'nyan'
    }
}

output output

Diff Output

Coming very soon.

Issues

Please file issues on the issue tracker on GitHub.

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-42506.html

文章标题:karma-mocha-own-reporter

回到顶部