Skip to content

Commit 2f99de1

Browse files
committed
test(plan): remove redundant array cache snapshot
Drop the explicit cache:false command-array plan snapshot now that cache behavior is covered elsewhere and this fixture can stay focused on shorthand planning semantics.
1 parent a551135 commit 2f99de1

4 files changed

Lines changed: 0 additions & 149 deletions

File tree

crates/vite_task_plan/tests/plan_snapshots/fixtures/task_command_shorthands/snapshots.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ args = ["run", "array_shell_cd_before_next"]
3030
name = "array_compound_cd_before_next"
3131
args = ["run", "array_compound_cd_before_next"]
3232

33-
[[plan]]
34-
name = "object_array_cache_false"
35-
args = ["run", "object_array_cache_false"]
36-
3733
[[plan]]
3834
name = "object_array_depends_on"
3935
args = ["run", "object_array_depends_on"]

crates/vite_task_plan/tests/plan_snapshots/fixtures/task_command_shorthands/snapshots/query_object_array_cache_false.jsonc

Lines changed: 0 additions & 115 deletions
This file was deleted.

crates/vite_task_plan/tests/plan_snapshots/fixtures/task_command_shorthands/snapshots/task_graph.jsonc

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -376,32 +376,6 @@
376376
},
377377
"neighbors": []
378378
},
379-
{
380-
"key": [
381-
"<workspace>/",
382-
"object_array_cache_false"
383-
],
384-
"node": {
385-
"task_display": {
386-
"package_name": "@test/task-command-shorthands",
387-
"task_name": "object_array_cache_false",
388-
"package_path": "<workspace>/"
389-
},
390-
"resolved_config": {
391-
"command": [
392-
"vtt print-file package.json",
393-
"vtt print-file vite-task.json",
394-
"vtt print-file package.json"
395-
],
396-
"resolved_options": {
397-
"cwd": "<workspace>/",
398-
"cache_config": null
399-
}
400-
},
401-
"source": "TaskConfig"
402-
},
403-
"neighbors": []
404-
},
405379
{
406380
"key": [
407381
"<workspace>/",

crates/vite_task_plan/tests/plan_snapshots/fixtures/task_command_shorthands/vite-task.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
"array_cd_shell": ["cd snapshots", "echo $PWD"],
99
"array_shell_cd_before_next": ["cd \"$APP_DIR\"", "vtt print-file package.json"],
1010
"array_compound_cd_before_next": ["if true; then cd snapshots; fi", "vtt print-file package.json"],
11-
"object_array_cache_false": {
12-
"command": ["vtt print-file package.json", "vtt print-file vite-task.json", "vtt print-file package.json"],
13-
"cache": false
14-
},
1511
"object_array_depends_on": {
1612
"command": ["vtt print-file package.json", "vtt print-file vite-task.json", "vtt print-file package.json"],
1713
"dependsOn": ["string_shorthand"]

0 commit comments

Comments
 (0)