From 1f9761a551d22c8f2d5a25602dd55a0ed0c7836f Mon Sep 17 00:00:00 2001 From: merceyz Date: Sun, 22 Oct 2023 00:08:10 +0200 Subject: [PATCH] test: fix type errors --- .../pkg-tests-specs/sources/commands/unplug.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/acceptance-tests/pkg-tests-specs/sources/commands/unplug.test.ts b/packages/acceptance-tests/pkg-tests-specs/sources/commands/unplug.test.ts index bd317c499485..aa6cc2f99958 100644 --- a/packages/acceptance-tests/pkg-tests-specs/sources/commands/unplug.test.ts +++ b/packages/acceptance-tests/pkg-tests-specs/sources/commands/unplug.test.ts @@ -148,17 +148,17 @@ describe(`Commands`, () => { `packages/*`, ], }, async ({path, run, source}) => { - await xfs.mkdirPromise(ppath.join(path, `packages/a`), {recursive: true}); - await xfs.mkdirPromise(ppath.join(path, `packages/b`), {recursive: true}); + await xfs.mkdirPromise(ppath.join(path, `packages/a` as PortablePath), {recursive: true}); + await xfs.mkdirPromise(ppath.join(path, `packages/b` as PortablePath), {recursive: true}); - await xfs.writeJsonPromise(ppath.join(path, `packages/a/package.json`), { + await xfs.writeJsonPromise(ppath.join(path, `packages/a/package.json` as PortablePath), { name: `a`, dependencies: { [`b`]: `workspace:^`, }, }); - await xfs.writeJsonPromise(ppath.join(path, `packages/b/package.json`), { + await xfs.writeJsonPromise(ppath.join(path, `packages/b/package.json` as PortablePath), { name: `b`, dependencies: { [`no-deps`]: `1.0.0`,