summaryrefslogtreecommitdiff
path: root/tests/specs/cache/package_json/__test__.jsonc
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2024-09-23 20:17:43 +0530
committerGitHub <noreply@github.com>2024-09-23 20:17:43 +0530
commitcab3363026d47f2a975518a3108911a6edc0fd52 (patch)
treeaff645b66c6d7ca3a339d689c2a5b5ff3a376dd6 /tests/specs/cache/package_json/__test__.jsonc
parentbfdca5bc7a05553f3921f3d3f840dadf1f1dbd5c (diff)
tests: update specs::cache::package_json (#25827)
Towards https://github.com/denoland/deno/issues/25241
Diffstat (limited to 'tests/specs/cache/package_json/__test__.jsonc')
-rw-r--r--tests/specs/cache/package_json/__test__.jsonc14
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/specs/cache/package_json/__test__.jsonc b/tests/specs/cache/package_json/__test__.jsonc
index 803d5ef09..27fd3f9ba 100644
--- a/tests/specs/cache/package_json/__test__.jsonc
+++ b/tests/specs/cache/package_json/__test__.jsonc
@@ -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"
+ }
+ ]
}