This package has been moved to the pnpm multi-package repository.
Utils for testing projects that use pnpm
pnpm install -D @pnpm/assert-project
import test = require('tape')
import assertProject from '@pnpm/assert-project'
test('...', t => {
// ...
const project = assertProject(t, pathToProject)
await project.has('foo')
// Test fails if project has no foo in node_modules
})