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, Bar = require('../lib/bar'), bar; test('setup', function(t) { bar = new Bar('baz'); t.ok(bar); t.end(); }); test('bar', function(t) { t.equal('baz', bar.foo()); t.end(); }); test('teardown', function(t) { t.ok(true); t.end(); });