Files
pnpm/privatePackages/assert-project
MCMXC b67d3049b8 refactor: autoremove redundant disabled lint occurrences (#5169)
- add reportUnusedDisableDirectives true to eslint-config
- run 'lint:ts --fix' which autoremoves all redundant disabled lint occurrences
2022-08-06 21:29:44 +03:00
..
2021-02-15 05:06:10 +02:00
2022-08-06 18:19:52 +03:00
2020-12-10 15:50:09 +02:00
2022-08-06 18:19:52 +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('...', async t => {
  // ...
  const project = assertProject(t, pathToProject)

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

License

MIT