| 1 |
// generated from test/fixtures/testing-peer-deps-bad-sw |
| 2 |
module.exports = t => { |
| 3 |
const path = t.testdir({ |
| 4 |
"package-lock.json": `this isn't a shrinkwrap file |
| 5 |
|
| 6 |
it isn't even json |
| 7 |
|
| 8 |
what is it even doing here? |
| 9 |
`, |
| 10 |
"package.json": JSON.stringify({ |
| 11 |
"name": "@isaacs/testing-peer-deps", |
| 12 |
"version": "2.0.0", |
| 13 |
"description": "depends on b1, which has a peer dep on c1, and d, which has a regular dep on a2, which has a peer dep on b2 which has a peer dep on c2", |
| 14 |
"dependencies": { |
| 15 |
"@isaacs/testing-peer-deps-b": "1", |
| 16 |
"@isaacs/testing-peer-deps-d": "2" |
| 17 |
} |
| 18 |
}) |
| 19 |
}) |
| 20 |
return path |
| 21 |
} |