Skip to content

Commit

Permalink
Remove formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Aug 22, 2023
1 parent 839bc5d commit 982456f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ export const npmCLICommands = [
'version',
'view',
'whoami'
] as const
export type npmCLICommands = typeof npmCLICommands[number]
]

4 changes: 2 additions & 2 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ describe('Yarn to NPM tests', () => {
['yarn list --pattern "package|package2"', 'npm ls package package2'],
[
'yarn list --pattern "@scope/package|@scope/package2"',
'npm ls @scope/package @scope/package2',
'npm ls @scope/package @scope/package2'
],
['yarn list --depth 2', 'npm ls --depth 2'],
['yarn list --json', 'npm ls --json'],
Expand All @@ -420,7 +420,7 @@ describe('Yarn to NPM tests', () => {
['yarn pack --filename foobar', 'npm pack --pack-destination foobar'],
// unsupported
['yarn why', "npm why\n# couldn't auto-convert command"],
['yarn upgrade-interactive', "npm upgrade-interactive\n# couldn't auto-convert command"],
['yarn upgrade-interactive', "npm upgrade-interactive\n# couldn't auto-convert command"]
]

it.each(tests)('%s', (yarnValue, npmValue) => {
Expand Down

0 comments on commit 982456f

Please sign in to comment.