Repository navigation
Commit d241d22
committed
test(config): assert the imported object that actually reaches storage
CodeRabbit pre-merge check Regression Evidence (warning) on e265d53: the host-local path
import test asserted the returned summary only. The value the extension uses is the one handed
to contextProxy.setValues, so the test now pins that object: exactly one setValues call, mode
"code" present, and none of lastSettingsExportPath, lastTaskExportPath, lastModeExportPath or
lastImageSavePath.
Dropping any key from hostLocalPathKeys is killed by this test (checked for two of the four:
lastSettingsExportPath and lastImageSavePath).
importExport.spec.ts: 66 passed / 1 failed, the failure being the pre-existing Windows
"round-trips a prompt cache TTL through export and import" tracked by #2059. ESLint exits 0
with --max-warnings=0; eslint-suppressions.json untouched.1 parent c61e97b commit d241d22
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
416 | 426 | | |
417 | 427 | | |
418 | 428 | | |
| |||
0 commit comments