hunk.code_window:   pnpm-file-reporter: ^0.0.1
     pnpm-list: ^1.0.0
     pnpm-logger: ^0.5.2
     ramda: ^0.24.1
     rimraf: ^2.5.4
     supi: ^0.2.7
     tslint: ^5.4.2
     typescript: ^2.4.1
     update-notifier: ^2.1.0
     validate-commit-msg: ^2.7.0
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:   supi: ^0.2.8
  
hunk.file_path: shrinkwrap.yaml
hunk.type: replace
file: import tape = require('tape')
  import promisifyTape from 'tape-promise'
  import rimraf = require('rimraf-then')
  import {prepare, testDefaults, execPnpm} from './utils'
  import {installPkgs} from 'supi'
  
  const test = promisifyTape(tape)
  
  test('CLI fails when store status finds modified packages', async function (t: tape.Test) {
    const project = prepare(t)
  
    const opts = testDefaults()
    await installPkgs(['is-positive@3.1.0'], opts)
  
    const isPositive = await project.resolve('is-positive', '3.1.0', 'index.js')
    await rimraf(isPositive)
  
    try {
      await execPnpm('store', 'status')
      t.fail('CLI should have failed')
    } catch (err) {
      t.pass('CLI failed')
    }
  })
  
  test('CLI does not fail when store status does not find modified packages', async function (t: tape.Test) {
    const project = prepare(t)
  
    const opts = testDefaults()
    await installPkgs(['is-positive@3.1.0'], opts)
  
    await execPnpm('store', 'status')
    t.pass('CLI did not fail')
  })
  