workspaces/arborist/test/fixtures/reify-cases/fail-postinstall.js
raw| 1 | // generated from test/fixtures/fail-postinstall |
| 2 | module.exports = t => { |
| 3 | const path = t.testdir({ |
| 4 | "package.json": JSON.stringify({ |
| 5 | "name": "@isaacs/testing-fail-postinstall", |
| 6 | "version": "1.0.0", |
| 7 | "scripts": { |
| 8 | "postinstall": "exit 1" |
| 9 | }, |
| 10 | "license": "ISC" |
| 11 | }) |
| 12 | }) |
| 13 | return path |
| 14 | } |