forgeplus-react/node_modules/tape/test/add-subtest-async.js

14 lines
206 B
JavaScript

'use strict';
var test = require('../');
test('parent', function (t) {
t.pass('parent');
setTimeout(function () {
t.test('child', function (st) {
st.pass('child');
st.end();
});
}, 100);
});