17 lines
292 B
JavaScript
17 lines
292 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var test = require('../');
|
||
|
|
||
|
test('parent test', function (t) {
|
||
|
t.plan(2);
|
||
|
t.test('first child', function (t) {
|
||
|
t.plan(1);
|
||
|
t.pass('pass first child');
|
||
|
});
|
||
|
|
||
|
t.test(function (t) {
|
||
|
t.plan(1);
|
||
|
t.pass('pass second child');
|
||
|
});
|
||
|
});
|