Update test dependencies

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall 2020-10-03 23:34:47 +13:00
parent 445092f9af
commit 5be1773244
No known key found for this signature in database
GPG key ID: 1C6A99DFA9D306FC
11 changed files with 59 additions and 56 deletions

View file

@ -1,5 +1,5 @@
/* eslint-disable unicorn/no-hex-escape */
import test from 'ava';
const test = require('ava');
// Spoof supports-color
require('./_supports-color')(__dirname);
@ -179,7 +179,7 @@ test('throws if an extra unescaped } is found', t => {
test('should not parse upper-case escapes', t => {
const instance = new chalk.Instance({level: 0});
t.is(instance`\N\n\T\t\X07\x07\U000A\u000A\U000a\u000a`, 'N\nT\tX07\x07U000A\u000AU000a\u000A');
t.is(instance`\N\n\T\t\X07\x07\U000A\u000A\U000a\u000A`, 'N\nT\tX07\x07U000A\u000AU000a\u000A');
});
test('should properly handle undefined template interpolated values', t => {