Files
kilocode/packages/core/test
Yury Zialionka 2cb8ff4e46 test(storage): make the storage root injectable and fail closed on disk databases
Closes #12997. Part of #12986.

- Storage.layerFromDir(dir) roots the service at an explicit directory;
  the default layer still resolves Global.Path.data/storage lazily, so
  production composition (app-runtime) is unchanged.
- storage.test.ts injects a tmp root directly instead of remapping six
  FSUtil methods under Global.Path.data - the remap hack and its
  keep-in-sync burden are gone.
- Both test preloads now assert the resolved database path is
  ":memory:" after all preload imports. Previously a dropped env write
  or import-order regression silently pointed unit tests at the real
  ~/.local/share/kilo database (locking errors, Windows EBUSY teardown
  crashes); now the run fails immediately with a clear message.
2026-08-13 13:49:08 -06:00
..
2026-08-05 16:01:49 +02:00
2026-07-29 02:06:01 +02:00
2026-08-05 16:01:49 +02:00
2026-07-13 19:15:48 +02:00
2026-08-05 16:01:49 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-13 18:00:35 +02:00
2026-07-30 14:24:24 +02:00
2026-08-06 00:31:20 +02:00
2026-07-30 14:24:24 +02:00
2026-08-05 16:01:49 +02:00
2026-08-05 16:01:49 +02:00
2026-08-05 16:01:49 +02:00