Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes tests
  • Loading branch information
arcanis committed Mar 29, 2022
commit 0953ab4847a25bfb27911cd22213f9f1bd636b33
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ describe(`Commands`, () => {

await expect(run(`stage`, `-n`, {cwd: path})).resolves.toMatchObject({
stdout: [
`${npath.fromPortablePath(`${path}/.yarnrc.yml`)}\n`,
`${npath.fromPortablePath(`${path}/package.json`)}\n`,
].join(``),
});
Expand All @@ -29,7 +28,6 @@ describe(`Commands`, () => {

await expect(run(`stage`, `-n`, {cwd: path})).resolves.toMatchObject({
stdout: [
`${npath.fromPortablePath(`${path}/.yarnrc.yml`)}\n`,
`${npath.fromPortablePath(`${path}/package.json`)}\n`,
].join(``),
});
Expand All @@ -53,7 +51,6 @@ describe(`Commands`, () => {
`${npath.fromPortablePath(`${path}/.yarn/global/cache/no-deps-npm-1.0.0-cf533b267a-0.zip`)}\n`,
`${npath.fromPortablePath(`${path}/.yarn/cache/.gitignore`)}\n`,
`${npath.fromPortablePath(`${path}/.yarn/cache/no-deps-npm-1.0.0-cf533b267a-8bd88a447c.zip`)}\n`,
`${npath.fromPortablePath(`${path}/.yarnrc.yml`)}\n`,
`${npath.fromPortablePath(`${path}/package.json`)}\n`,
`${npath.fromPortablePath(`${path}/yarn.lock`)}\n`,
].join(``),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@ describe(`Plugins`, () => {
[type]: {
[`@types/is-number`]: `1.0.0`,
},
}, {
}), {
tsEnableAutoTypes: true,
}), async ({path, run, source}) => {
}, async ({path, run, source}) => {
await run(`remove`, `is-number`);

await expect(readManifest(path)).resolves.not.toHaveProperty(`${type}.@types/is-number`);
Expand Down