【文件属性】:
文件名称:mocha-notifier-reporter:显示与其他摩卡记者的通知
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-14 06:12:18
JavaScript
摩卡通知者报告器
mocha-notifier-reporter是一种报告程序,它使用带有可自定义值的程序显示通知。 默认通知类似于“咆哮”选项。 它还可以向其他记者添加通知。
安装
npm install mocha-notifier-reporter
用法
显示来自测试的通知很容易。
var gulp = require ( 'gulp' ) ;
var mocha = require ( 'mocha' ) ;
// stand-alone usage
gulp . task ( 'test-notify-only' , function ( ) {
gulp . src ( 'test/*.js' )
. pipe ( mocha ( {
reporter : 'mocha-notifier-reporter'
} ) ) ;
} ) ;
同时使用decorat
【文件预览】:
mocha-notifier-reporter-master
----imgs()
--------pass.png(388B)
--------fail.png(412B)
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(587B)
----index.js(2KB)
----package.json(669B)