workspaces/arborist/test/fixtures/reify-cases/testing-bundledeps-2.js
raw| 1 | // generated from test/fixtures/testing-bundledeps-2 |
| 2 | module.exports = t => { |
| 3 | const path = t.testdir({ |
| 4 | "index.js": "", |
| 5 | "lib": { |
| 6 | "foo": "" |
| 7 | }, |
| 8 | "package.json": JSON.stringify({ |
| 9 | "name": "@isaacs/testing-bundledeps", |
| 10 | "version": "1.0.0", |
| 11 | "dependencies": { |
| 12 | "@isaacs/testing-bundledeps-a": "*", |
| 13 | "@isaacs/testing-bundledeps-c": "*" |
| 14 | }, |
| 15 | "bundleDependencies": [ |
| 16 | "@isaacs/testing-bundledeps-a" |
| 17 | ], |
| 18 | "files": [ |
| 19 | "lib/foo" |
| 20 | ] |
| 21 | }) |
| 22 | }) |
| 23 | return path |
| 24 | } |