NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/tape/example/two.js

19 lines
326 B
Java
Raw Normal View History

2023-09-14 14:47:11 +08:00
var test = require('../');
test('one', function (t) {
t.plan(2);
t.ok(true);
setTimeout(function () {
t.equal(1+3, 4);
}, 100);
});
test('two', function (t) {
t.plan(3);
t.equal(5, 2+3);
setTimeout(function () {
t.equal('a'.charCodeAt(0), 97);
t.ok(true);
}, 50);
});