mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
tests: update specs::cache::package_json (#25827)
Towards https://github.com/denoland/deno/issues/25241
This commit is contained in:
parent
bfdca5bc7a
commit
cab3363026
4 changed files with 29 additions and 5 deletions
14
tests/specs/cache/package_json/__test__.jsonc
vendored
14
tests/specs/cache/package_json/__test__.jsonc
vendored
|
@ -1,7 +1,13 @@
|
|||
{
|
||||
"tempDir": true,
|
||||
// TODO(2.0): decide if this test should be fixed or removed
|
||||
"ignore": true,
|
||||
"args": "cache main.ts",
|
||||
"output": "main.cache.out"
|
||||
"steps": [
|
||||
{
|
||||
"args": "cache main.ts",
|
||||
"output": "main.cache.out"
|
||||
},
|
||||
{
|
||||
"args": "eval console.log(Deno.readTextFileSync('deno.lock').trim())",
|
||||
"output": "deno.lock.out"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
3
tests/specs/cache/package_json/deno.json
vendored
Normal file
3
tests/specs/cache/package_json/deno.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"nodeModulesDir": "none"
|
||||
}
|
16
tests/specs/cache/package_json/deno.lock.out
vendored
Normal file
16
tests/specs/cache/package_json/deno.lock.out
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"version": "4",
|
||||
"specifiers": {
|
||||
"npm:@denotest/esm-basic@*": "1.0.0"
|
||||
},
|
||||
"npm": {
|
||||
"@denotest/esm-basic@1.0.0": [WILDCARD]
|
||||
},
|
||||
"workspace": {
|
||||
"packageJson": {
|
||||
"dependencies": [
|
||||
"npm:@denotest/esm-basic@*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
Download http://localhost:4260/@denotest/esm-basic
|
||||
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
|
||||
Initialize @denotest/esm-basic@1.0.0
|
||||
|
|
Loading…
Reference in a new issue