mirror of
https://github.com/denoland/deno.git
synced 2024-12-15 11:58:42 -05:00
40 lines
825 B
Text
40 lines
825 B
Text
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|