Skip to content

Commit

Permalink
Fix test normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 26, 2019
1 parent f6840ed commit 3174248
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/helpers/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ const normalizeUnicodeChar = function(message, [before, after]) {
return message.replace(regExp, after)
}

const UNICODE_CHARS = [['✔', '√'], ['✖', '×'], ['◉', '(*)'], ['ℹ', 'i']]
const UNICODE_CHARS = [
['✔', '√'],
['✖', '×'],
['◉', '(*)'],
['ℹ', 'i'],
['⚠', '‼'],
]

// Default Node.js warnings show PID, which we remove
const WARNING_PID_REGEXP = /\(node:\d+\)/u
Expand Down

0 comments on commit 3174248

Please sign in to comment.