Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jul 1, 2024
1 parent 3e90653 commit d7ea939
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,10 @@ test('updates caniuse-lite for bun', async () => {
'caniuse-lite has been successfully updated\n'
)

let pmls = execSync('bun pm ls --all', { env: { ...process.env, FORCE_COLOR: "0", NO_COLOR: "1" } }).toString()
ok(pmls.includes(`caniuse-lite@${caniuse.version}`))
let dependencies = execSync('bun pm ls --all', {
env: { ...process.env, FORCE_COLOR: '0', NO_COLOR: '1' }
}).toString()
ok(dependencies.includes(`caniuse-lite@${caniuse.version}`))
})

test.run()

0 comments on commit d7ea939

Please sign in to comment.