Add failing test for helpers.parseTags
a4d56fb
moved the function from here99f9d622e6/lib/widget.js (L9607-L9610)
to its own file, but didn't fill in any reference for the Screen variable.
This commit is contained in:
parent
2b26fe9952
commit
ecf08f4ba7
|
@ -0,0 +1,5 @@
|
|||
var blessed = require('../'),
|
||||
screen = blessed.screen();
|
||||
|
||||
console.log(blessed.helpers.parseTags('{red-fg}This should be red.{/red-fg}'));
|
||||
console.log(blessed.helpers.parseTags('{green-bg}This should have a green background.{/green-bg}'));
|
Loading…
Reference in New Issue