UNPKG

compound-ex4

Version:

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

12 lines (9 loc) 356 B
'use strict'; var memoize = require('../plain'); module.exports = function (t, a) { memoize(function () {})(); a(typeof t.statistics, 'object', "Access to statistics"); a(Object.keys(t.statistics).length > 0, true, "Statistics collected"); a(typeof t.log, 'function', "Access to log function"); a(typeof t.log(), 'string', "Log outputs string"); };