Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/wincloud_gateway/node_modules/kuler/ drwxr-xr-x | |
| Viewing file: Select action/file-type: const { it, describe } = require('mocha');
const assume = require('assume');
const kuler = require('./');
describe('kuler', function () {
it('renders colors in the terminal', function () {
console.log(' VISUAL INSPECTION');
console.log(' '+ kuler('red').style('F00'));
console.log(' '+ kuler('black').style('#000'));
console.log(' '+ kuler('white').style('#FFFFFF'));
console.log(' '+ kuler('lime').style('AAFF5B'));
console.log(' '+ kuler('violet').style('#ee82ee'));
console.log(' '+ kuler('purple').style('#800080'));
console.log(' '+ kuler('purple').style('#800080'), 'correctly reset to normal color');
console.log(' '+ kuler('green', '#008000'));
});
describe('#style', function () {
it('has a style method', function () {
assume(kuler('what').style).is.a('function');
});
});
});
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.005 ]-- |