Add failing test for helpers.parseTags

a4d56fb moved the function from here 99f9d622e6/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:
An Ko 2015-08-05 17:58:13 +02:00
parent 2b26fe9952
commit ecf08f4ba7
1 changed files with 5 additions and 0 deletions

5
test/helpers.js Normal file
View File

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