Files
pnpm/pnpm11/__utils__/assert-store
Zoltan Kochanandgithub-actions[bot] 925c33d780 chore(release): 11.18.0, pacquet 12.0.0-beta.0 (#13481)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-29 09:29:53 +02: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('...', async 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