retape

2018-10-12 admin

retape是什么

什么是retape,CommonJS test to tape adapter

retape使用教程帮助文档

retape

browser support Build Status

CommonJS test to [tape][] adapter, allowing you to use testling ci without rewriting any of your tests. In a future probably [test][] will just produce tap output to be compatible with testling ci out of the box.

Usage

Only thing you need to do is create adapter module that wraps your entry test module:

var retape = require("retape")
retape(require("test/index")) // Or whatever your entry point test module is.

Of course you’ll also need to set up your package.json and github repo as instructed by testling ci.

Install

npm install retape

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

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

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

文章标题:retape

回到顶部