base16-builder/base16-builder

Add tests to ensure that success messages are green and error messages are red

Open

#13 创建于 2016年1月30日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)HTML (41 fork)batch import
help wanted

仓库指标

Star
 (421 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

In an attempt to eliminate the possibility of a trivial regression, tests should be included to verify that

  • Success messages are output to the console with a green colour; and,
  • error messages are output to the console with a red colour!

I haven't included these tests as I'm not yet sure how to go about testing this.

The module I use to colourize the output namely, Chalk, does so by emitting ANSI escape codes however, the terminal interprets these ANSI escape codes before I can evaluate them. Hm :confused:.

贡献者指南