workspaces/arborist/test/fixtures/reify-cases/optional-dep-tgz-missing.js
raw| 1 | // generated from test/fixtures/optional-dep-tgz-missing |
| 2 | module.exports = t => { |
| 3 | const path = t.testdir({ |
| 4 | "package.json": JSON.stringify({ |
| 5 | "name": "@isaacs/testing-optional-dep-tgz-missing", |
| 6 | "version": "1.0.0", |
| 7 | "description": "a package with an optional dependency on a package whose tarball does not exist", |
| 8 | "optionalDependencies": { |
| 9 | "@isaacs/testing-missing-tgz": "*" |
| 10 | }, |
| 11 | "dependencies": { |
| 12 | "@isaacs/testing-missing-tgz": "*" |
| 13 | } |
| 14 | }) |
| 15 | }) |
| 16 | return path |
| 17 | } |