mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 10:52:47 +00:00
12 lines
356 B
JavaScript
12 lines
356 B
JavaScript
'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");
|
|
};
|