Skip to content

Commit

Permalink
tests: update specs::cache::package_json (#25827)
Browse files Browse the repository at this point in the history
Towards #25241
  • Loading branch information
satyarohith authored Sep 23, 2024
1 parent bfdca5b commit cab3363
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
14 changes: 10 additions & 4 deletions tests/specs/cache/package_json/__test__.jsonc
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions tests/specs/cache/package_json/deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"nodeModulesDir": "none"
}
16 changes: 16 additions & 0 deletions tests/specs/cache/package_json/deno.lock.out

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion tests/specs/cache/package_json/main.cache.out
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cab3363

Please sign in to comment.