hunk.code_window: import path from 'path'
   import { createClient } from '@pnpm/client'
   import { createPackageStore } from '@pnpm/package-store'
   import tempy from 'tempy'
   afterEach(async () => {
     // @ts-expect-error
     await global.finishWorkers?.()
   })
   describe('store.importPackage()', () => {
     it('selects import method automatically', async () => {
       const tmp = tempy.directory()
  
hunk.labels: keep keep keep keep keep replace replace replace replace replace keep keep keep
hunk.file_path: store/package-store/test/index.ts
hunk.type: replace
file: lockfileVersion: '6.0'
  
  importers:
  
    .: {}
  
    packages/private:
      dependencies:
        is-positive:
          specifier: 1.0.0
          version: 1.0.0
  
    packages/public:
      dependencies:
        is-positive:
          specifier: 1.0.0
          version: 1.0.0
  
  packages:
  
    /is-positive@1.0.0:
      resolution: {integrity: sha1-iACYVrZKLx632LsBeUGEJK4EUss=}
      engines: {node: '>=0.10.0'}
      dev: false
  