【文件属性】:
文件名称:tape-suite:磁带的简单套件
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-13 00:19:15
JavaScript
磁带套件
超简单的磁带测试套件。
var suite = require('tape-suite');
suite('Test stuff', function (t) {
t.beforeEach(function () {
//do stuff before each test
});
t.afterEach(function () {
//do stuff after each test
});
t.test('use like a normal tape test', function (t) {
t.ok(true);
t.end();
});
//also t.test.only
t.test.only('only this test will r
【文件预览】:
tape-suite-master
----README.md(582B)
----package.json(272B)
----test.js(2KB)
----tape-suite.js(796B)