Skip to content

Commit

Permalink
test: fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Oct 21, 2023
1 parent 9d0728e commit 1f9761a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit 1f9761a

Please sign in to comment.