UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

27 lines (26 loc) 1.11 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var CanLog_js_1 = require("../../../generic/util/role/CanLog.js"); exports.NodeJsLogger = function (base) { return /** @class */ (function (_super) { __extends(NodeJsLogger, _super); function NodeJsLogger() { return _super !== null && _super.apply(this, arguments) || this; } NodeJsLogger.prototype.printLn = function (message) { console.log(message); }; return NodeJsLogger; }(CanLog_js_1.CanLog(base))); };