We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7c9bd2 commit e2e3894Copy full SHA for e2e3894
3 files changed
test/utils/check.js
test/utils/index.js
@@ -2,7 +2,8 @@
2
3
module.exports = {
4
bump: require("./bump"),
5
- check: require("./check"),
+ check: require("./symbols").check,
6
+ info: require("./symbols").info,
7
files: require("./files"),
8
fixtures: require("./fixtures"),
9
mocks: require("./mocks"),
test/utils/symbols.js
@@ -0,0 +1,18 @@
1
+"use strict";
+
+const stripAnsi = require("strip-ansi");
+const logSymbols = require("log-symbols");
+module.exports = {
+ /**
+ * The check symbol (✔ on Mac/Linux, √ on Windows)
+ * with the ANSI color sequences removed
10
+ */
11
+ check: stripAnsi(logSymbols.success),
12
13
14
+ * The check symbol (ℹ on Mac/Linux, i on Windows)
15
16
17
+ info: stripAnsi(logSymbols.info),
18
+};
0 commit comments