Skip to content

Commit

Permalink
Fix tests for new pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Apr 29, 2024
1 parent 2b56d5c commit a57eaad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ test('updates caniuse-lite for yarn v2', async () => {
execSync('yarn set version classic')
})

test('updates caniuse-lite for pnpm', async () => {
test.only('updates caniuse-lite for pnpm', async () => {
let dir = await chdir('update-pnpm', 'package.json', 'pnpm-lock.yaml')
match(
runUpdate(),
Expand All @@ -251,7 +251,7 @@ test('updates caniuse-lite for pnpm', async () => {
let lock = (await readFile(join(dir, 'pnpm-lock.yaml'))).toString()
ok(
lock.includes(`/caniuse-lite/${caniuse.version}:`) ||
lock.includes(`/caniuse-lite@${caniuse.version}:`)
lock.includes(`caniuse-lite@${caniuse.version}:`)
)
})

Expand Down

0 comments on commit a57eaad

Please sign in to comment.