Skip to content

Commit

Permalink
Type decl
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Aug 23, 2023
1 parent 1185c93 commit b3608be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import convert from '../src'

describe('NPM tests', () => {
const tests = [
const tests: [npm: string, yarn: string, pnpm: string, bun: string][] = [
// install
['npm install', 'yarn install', 'pnpm install', 'bun install'],
['npm i', 'yarn install', 'pnpm i', 'bun install'],
Expand Down Expand Up @@ -316,7 +316,7 @@ describe('NPM tests', () => {
'pnpm pack --pack-destination foobar',
"npm pack --pack-destination foobar\n# couldn't auto-convert command",
],
] as [string, string, string, string][]
];

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

0 comments on commit b3608be

Please sign in to comment.