Files
pnpm/privatePackages/assert-project
Zoltan Kochan a613580ecd chore: use workspace ranges instead of links
This is a workaround to make pnpm run tests in correct order
2019-11-09 22:46:31 +02:00
..
2019-11-09 22:16:47 +02:00
2019-05-07 02:10:06 +03: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('...', t => {
  // ...
  const project = assertProject(t, pathToProject)

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

License

MIT © Zoltan Kochan