UNPKG

compound-ex4

Version:

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

17 lines (14 loc) 368 B
// https://github.com/isaacs/node-tap/issues/24 var tap = require("../") , test = tap.test var config = {foo: "bar"} test("one", config, function(t) { t.equal(t.conf.foo, "bar") t.equal(t.conf.name, "one") // before fix this would be "two" t.end() }) test("two", config, function(t) { t.equal(t.conf.foo, "bar") t.equal(t.conf.name, "two") t.end() })