Upgrade dependencies
This commit is contained in:
parent
09fd5c4ba8
commit
d7c4aac07e
2 changed files with 8 additions and 8 deletions
|
|
@ -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');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue