aboutsummaryrefslogtreecommitdiff
path: root/modules/core/module-modmgr.js
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-10-27 08:32:39 +0100
committerAgando <roduccomm@gmail.com>2026-10-27 08:32:39 +0100
commitf1734dfddd88aad22818911e6e5f00bd68675017 (patch)
treeb43d5002a2c1e6f5f646b7a02e0dab85dfad7b33 /modules/core/module-modmgr.js
parent197ab31e1dc915a991b3d88697e0fc4c294563a8 (diff)
fix(newos4): regression test for checkpoint name round-trip (auto)
Task 3 of plan 2026-10-27_061724-newos4-checkpoint-name-mismatch.md. New modules/test/test-vfs-checkpoint.js loads the real VirtualFileSystem and SystemModule with guarded localStorage/indexedDB/window stubs and asserts: A1-A4 checkpoint('') returns the resolved name; two calls differ; the file exists under the returned name B1-B2 checkpoint-list shows the returned name; rollback(<that name>) is true C1-C4 the `checkpoint` command prints exactly the name it created (and an explicit name verbatim) RED before the fix (v4.6.101): FAIL C2 printed name exists on disk — printed=2026-10-27T07:31:21.575Z listed=["2026-10-27T07:31:21.574Z"] test-vfs-checkpoint: 2 passed, 8 FAILED GREEN after: $ node modules/test/test-vfs-checkpoint.js test-vfs-checkpoint: 10 passed, 0 failed
Diffstat (limited to 'modules/core/module-modmgr.js')
0 files changed, 0 insertions, 0 deletions