1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 10:52:47 +00:00
Files
mywebsite/node_modules/memoizee/test/profile.js

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");
};