Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[test] Add few more tests

  • Loading branch information...
commit 53182c289be760c08a4ff0c06dde9dde2bc78610 1 parent d84bed6
@mmalecki authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/ansiparse-test.js
View
8 test/ansiparse-test.js
@@ -28,6 +28,14 @@ var dataSets = {
background: {
input: '\033\[42mhello world\033\[49m',
output: [{ text: 'hello world', background: 'green' }]
+ },
+ boldAndColor: {
+ input: 'hello world'.red.bold,
+ output: [{ text: 'hello world', bold: true, foreground: 'red' }]
+ },
+ noColor: {
+ input: 'hello world',
+ output: [{ text: 'hello world' }]
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.