Files
pnpm/__utils__/assert-project
Zoltan Kochan 3a5bfaa94f chore: update zkochan packages to latest versions (#10930)
Update all packages from zkochan/packages to their latest major versions
and exclude them from minimumReleaseAge requirement. This includes
updating catalog entries, adapting to breaking API changes (default
exports replaced with named exports, sync functions renamed with Sync
suffix), and updating type declarations.
2026-03-11 13:47:46 +01:00
..
2025-10-21 15:30:20 +02:00

@pnpm/assert-project

Utils for testing projects that use pnpm

Installation

pnpm install -D @pnpm/assert-project

Usage

import test = require('tape')
import { assertProject } from '@pnpm/assert-project'

test('...', async t => {
  // ...
  const project = assertProject(t, pathToProject)

  project.has('foo')
  // Test fails if project has no foo in node_modules
})

License

MIT