Upgrade dependencies

This commit is contained in:
Sindre Sorhus 2021-11-26 16:00:01 +07:00
parent 09fd5c4ba8
commit d7c4aac07e
2 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
import {fileURLToPath} from 'node:url';
import test from 'ava';
import execa from 'execa';
import {execaNode} from 'execa';
import chalk from '../source/index.js';
chalk.level = 1;
@ -38,6 +38,6 @@ test('propagate enable/disable changes from child colors', t => {
});
test('disable colors if they are not supported', async t => {
const {stdout} = await execa.node(fileURLToPath(new URL('./_fixture.js', import.meta.url)));
const {stdout} = await execaNode(fileURLToPath(new URL('./_fixture.js', import.meta.url)));
t.is(stdout, 'testout testerr');
});