Skip to content

Commit

Permalink
feat: setting virtual store dir length
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Apr 26, 2024
1 parent bfafc70 commit 40e950b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions reviewing/license-scanner/test/getPkgInfo.spec.ts
Expand Up @@ -25,6 +25,7 @@ describe('licences', () => {
virtualStoreDir: 'virtual-store-dir',
modulesDir: 'modules-dir',
dir: 'workspace-dir',
virtualStoreDirMaxLength: 120,
}
)
).rejects.toThrow('Failed to find package index file for /bogus-package@1.0.0, please consider running \'pnpm install\'')
Expand Down
3 changes: 3 additions & 0 deletions reviewing/license-scanner/test/licenses.spec.ts
Expand Up @@ -71,6 +71,7 @@ describe('licences', () => {
registries: {} as Registries,
wantedLockfile: lockfile,
storeDir: '/opt/.pnpm',
virtualStoreDirMaxLength: 120,
})

expect(licensePackages).toEqual([
Expand Down Expand Up @@ -157,6 +158,7 @@ describe('licences', () => {
wantedLockfile: lockfile,
storeDir: '/opt/.pnpm',
includedImporterIds: ['packages/a'],
virtualStoreDirMaxLength: 120,
})

expect(licensePackages).toEqual([
Expand Down Expand Up @@ -232,6 +234,7 @@ describe('licences', () => {
registries: {} as Registries,
wantedLockfile: lockfile,
storeDir: '/opt/.pnpm',
virtualStoreDirMaxLength: 120,
})

expect(licensePackages).toEqual([
Expand Down

0 comments on commit 40e950b

Please sign in to comment.