UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

23 lines (20 loc) 441 B
var tap = require("../"), test = tap.test; test("parent", function (t) { // TODO: Make grandchildren tests count? t.plan(3); t.ok(true, 'p test'); t.test("subtest", function (t) { t.ok(true, 'ch test'); t.test('nested subtest', function(t) { t.ok(true, 'grch test'); t.end(); }); t.end(); }); t.test('another subtest', function(t) { t.ok(true, 'ch test 2'); t.end(); }); t.end(); })