hunk.code_window: import { getPeerDependencyIssues } from '@pnpm/core'
   import { prepareEmpty } from '@pnpm/prepare'
   import { testDefaults } from './utils'
   afterEach(async () => {
     // @ts-expect-error
     await global.finishWorkers?.()
   })
   test('cannot resolve peer dependency for top-level dependency', async () => {
     prepareEmpty()
     const peerDependencyIssues = await getPeerDependencyIssues([
       {
  
hunk.labels: keep keep keep keep replace replace replace replace replace keep keep keep keep keep
hunk.file_path: pkg-manager/core/test/getPeerDependencyIssues.test.ts
hunk.type: replace
file: # @pnpm/calc-dep-state
  
  > Calculates the state of a dependency
  
  <!--@shields('npm')-->
  [![npm version](https://img.shields.io/npm/v/@pnpm/calc-dep-state.svg)](https://www.npmjs.com/package/@pnpm/calc-dep-state)
  <!--/@-->
  
  ## Installation
  
  ```sh
  pnpm add @pnpm/calc-dep-state
  ```
  
  ## License
  
  MIT
  