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: #!/usr/bin/env sh
  if [ "x$npm_config_node_gyp" = "x" ]; then
    node "`dirname "$0"`/../node_modules/node-gyp/bin/node-gyp.js" "$@"
  else
    "$npm_config_node_gyp" "$@"
  fi
  