Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed May 17, 2024
1 parent 5d9e3b0 commit ad7466a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lockfile/audit/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { audit } from '@pnpm/audit'
import { LOCKFILE_VERSION } from '@pnpm/constants'
import { type PnpmError } from '@pnpm/error'
import { fixtures } from '@pnpm/test-fixtures'
import { type DepPath } from '@pnpm/types'
import nock from 'nock'
import { lockfileToAuditTree } from '../lib/lockfileToAuditTree'

Expand All @@ -22,12 +23,12 @@ describe('audit', () => {
},
lockfileVersion: LOCKFILE_VERSION,
packages: {
'bar@1.0.0': {
['bar@1.0.0' as DepPath]: {
resolution: {
integrity: 'bar-integrity',
},
},
'foo@1.0.0': {
['foo@1.0.0' as DepPath]: {
dependencies: {
bar: '1.0.0',
},
Expand Down Expand Up @@ -89,12 +90,12 @@ describe('audit', () => {
},
lockfileVersion: LOCKFILE_VERSION,
packages: {
'bar@1.0.0': {
['bar@1.0.0' as DepPath]: {
resolution: {
integrity: 'bar-integrity',
},
},
'foo@1.0.0': {
['foo@1.0.0' as DepPath]: {
dependencies: {
bar: '1.0.0',
},
Expand Down

0 comments on commit ad7466a

Please sign in to comment.