mirror of
https://github.com/pnpm/pnpm.git
synced 2026-06-28 01:45:30 -04:00
* chore(release): 11.6.0 * docs: update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@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