From 70a9d0bf4231ba8ad947b5064e34cd556d2c70a9 Mon Sep 17 00:00:00 2001 From: Superchupu <53496941+SuperchupuDev@users.noreply.github.com> Date: Tue, 15 Oct 2024 18:44:26 +0000 Subject: [PATCH] chore: fix tests resolving to esm-only chalk --- test/test-79-npm/require_optional/package.json | 2 +- test/test-80-compression/test-x.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-79-npm/require_optional/package.json b/test/test-79-npm/require_optional/package.json index f5231caa4..37dd1960a 100644 --- a/test/test-79-npm/require_optional/package.json +++ b/test/test-79-npm/require_optional/package.json @@ -1,6 +1,6 @@ { "private": true, "peerOptionalDependencies": { - "chalk": "*" + "chalk": "^4.1.2" } } diff --git a/test/test-80-compression/test-x.js b/test/test-80-compression/test-x.js index 1d4708028..c302a2175 100644 --- a/test/test-80-compression/test-x.js +++ b/test/test-80-compression/test-x.js @@ -3,7 +3,7 @@ /* eslint-disable no-unused-vars */ const m = require('minimist'); -const c = require('chalk'); +const pc = require('picocolors'); const loremIpsum = 'Unus audio pluribus sibi quibusdam amicitias habere qua satis molestum sapientes molestum est vel frui non pluribus nimias possit quam esse sollicitum adducas persequantur esse audio nihil sollicitum laxissimas enim rerum vel non ad tamquam habitos implicari placuisse quibusdam nihil.';