1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
denoland-deno/tests/specs/add/dev/__test__.jsonc

40 lines
825 B
Text
Raw Normal View History

{
"tempDir": true,
"tests": {
"package_json": {
"steps": [
{
"args": "add --dev npm:@denotest/esm-basic",
"output": "add.out"
},
{
"args": [
"eval",
"console.log(Deno.readTextFileSync('package.json').trim())"
],
"output": "package.json.out"
}
]
},
"deno_json": {
"steps": [
{
"args": ["eval", "Deno.removeSync('package.json')"],
"output": ""
},
{
"args": "add --dev npm:@denotest/esm-basic",
"output": "add.out"
},
{
"args": [
"eval",
"console.log(Deno.readTextFileSync('deno.json').trim())"
],
"output": "deno.json.out"
}
]
}
}
}