UNPKG

compound-ex4

Version:

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

21 lines (16 loc) 288 B
var test = require('tap').test, Foo = require('../lib/foo'), foo; test('setup', function(t) { foo = new Foo('baz'); t.ok(foo); t.end(); }); test('bar', function(t) { t.equal('baz', foo.bar()); t.end(); }); test('teardown', function(t) { t.ok(true); t.end(); });