hunk.code_window:       name: 'pnpm',
         version: '1.0.0',
       },
     }))
     t.end()
   })
hunk.labels: keep keep keep replace keep keep
hunk.after_edit:   })
     t.ok(configs)
     t.equal(configs.fetchRetries, 2)
     t.equal(configs.fetchRetryFactor, 10)
     t.equal(configs.fetchRetryMintimeout, 10000)
     t.equal(configs.fetchRetryMaxtimeout, 60000)
  
hunk.file_path: packages/config/test/index.ts
hunk.type: replace
file: import {Modules} from '@pnpm/modules-yaml'
  import {oneLine, stripIndent} from 'common-tags'
  import path = require('path')
  import semver = require('semver')
  import {LAYOUT_VERSION} from '../../constants'
  import {PnpmError, PnpmErrorCode} from '../../errorTypes'
  import ModulesBreakingChangeError from './ModulesBreakingChangeError'
  import UnexpectedStoreError from './UnexpectedStoreError'
  
  export default function checkCompatibility (
    modules: Modules,
    opts: {
      storePath: string,
      modulesPath: string,
    },
  ) {
    // Important: comparing paths with path.relative()
    // is the only way to compare paths correctly on Windows
    // as of Node.js 4-9
    // See related issue: https://github.com/pnpm/pnpm/issues/996
    if (path.relative(modules.store, opts.storePath) !== '') {
      throw new UnexpectedStoreError({
        actualStorePath: opts.storePath,
        expectedStorePath: modules.store,
      })
    }
    if (!modules.layoutVersion || modules.layoutVersion !== LAYOUT_VERSION) {
      throw new ModulesBreakingChangeError({
        additionalInformation: 'The change was needed to make `independent-leafs` not the default installation layout',
        modulesPath: opts.modulesPath,
        relatedIssue: 821,
      })
    }
  }
  