UNPKG

siesta-lite

Version:

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

51 lines (34 loc) 975 B
/* Siesta 5.6.1 Copyright(c) 2009-2022 Bryntum AB https://bryntum.com/contact https://bryntum.com/products/siesta/license */ Role('Siesta.Launcher.Role.CanPrintWithLauncher', { does : [ Siesta.Util.Role.CanStyleOutput ], has : { launcher : { required : true } }, methods : { print : function (text, level) { return this.launcher.print(text, level) }, printErr : function (text, level) { return this.launcher.printErr(text, level) }, printError : function (text, level) { return this.launcher.printError(text, level) }, info : function (text, level) { return this.launcher.info(text, level) }, warn : function (text, level) { return this.launcher.warn(text, level) }, debug : function (text) { return this.launcher.debug(text) } } })