workspaces/arborist/test/fixtures/reify-cases/platform-specification.js
raw| 1 | // generated from test/fixtures/platform-specification |
| 2 | module.exports = t => { |
| 3 | const path = t.testdir({ |
| 4 | "package.json": JSON.stringify({ |
| 5 | "name": "platform-test", |
| 6 | "version": "1.0.0", |
| 7 | "description": "", |
| 8 | "main": "index.js", |
| 9 | "scripts": { |
| 10 | "test": "echo \"Error: no test specified\" && exit 1" |
| 11 | }, |
| 12 | "author": "", |
| 13 | "license": "ISC", |
| 14 | "dependencies": { |
| 15 | "platform-specifying-test-package": "1.0.0" |
| 16 | } |
| 17 | }) |
| 18 | }) |
| 19 | return path |
| 20 | } |