Files
boc/vims-backend/node_modules/kuler/test.js
T
Bernt 6de2455917 v1.2.0: Add Global Markets footer, translated to 9 languages
- Added GLOBAL_MARKETS_TITLE to all translation files
- Updated footer with 12 markets (4 active + 8 upcoming)
- Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi
- Built and deployed to production
- CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
2026-07-08 19:56:03 +00:00

24 lines
883 B
JavaScript

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