Files
pnpm/privatePackages/assert-store
Zoltan Kochan 889f71481e feat: drop Node.js 8 support
BREAKING CHANGE:

at least Node.js 10 is  required for pnpm to run

PR #2044
2019-10-05 20:47:04 +03:00
..
2019-07-16 22:12:07 +03:00
2019-10-05 20:47:04 +03:00
2019-05-07 02:10:06 +03:00
2019-05-19 20:05:11 +03:00

@pnpm/assert-store

Utils for testing pnpm stores

Installation

pnpm install -D @pnpm/assert-store

Usage

import test = require('tape')
import assertStore from '@pnpm/assert-store'

test('...', t => {
  // ...
  const store = assertStore(t, pathToStore, encodedRegistryName)

  await store.storeHas('is-positive', '3.1.0')
  // Test fails if pnpm store does not have this package
})

License

MIT © Zoltan Kochan