mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 18:19:08 -05:00
25 lines
665 B
Text
25 lines
665 B
Text
|
{
|
||
|
"tempDir": true,
|
||
|
"steps": [{
|
||
|
"cwd": "pkg",
|
||
|
"args": "test",
|
||
|
"output": "test_pkg.out"
|
||
|
}, {
|
||
|
// the lockfile should always go to the workspace root
|
||
|
"args": [
|
||
|
"eval",
|
||
|
"try { Deno.readTextFileSync('pkg/deno.lock'); console.log('should not run'); } catch {} console.log(Deno.readTextFileSync('deno.lock'))"
|
||
|
],
|
||
|
"output": "expected-lock.out"
|
||
|
}, {
|
||
|
"args": "test",
|
||
|
"output": "test_root.out"
|
||
|
}, {
|
||
|
"args": [
|
||
|
"eval",
|
||
|
"try { Deno.readTextFileSync('pkg/deno.lock'); console.log('should not run'); } catch {} console.log(Deno.readTextFileSync('deno.lock'))"
|
||
|
],
|
||
|
"output": "expected-lock.out"
|
||
|
}]
|
||
|
}
|