diff --git a/scripts/test-web-console-prototypes.mjs b/scripts/test-web-console-prototypes.mjs index 90255a8..9a5ece7 100644 --- a/scripts/test-web-console-prototypes.mjs +++ b/scripts/test-web-console-prototypes.mjs @@ -82,7 +82,8 @@ test("prototypeHtmlPath names one .html in prototypes/ and refuses everything el }); try { const found = await prototypeHtmlPath(root, SPEC, "picker.html"); - assert.equal(found, fs.realpathSync(path.join(root, SPEC, "prototypes", "picker.html"))); + // fs.promises.realpath is the native one, which spells out an 8.3 short temp path. + assert.equal(found, fs.realpathSync.native(path.join(root, SPEC, "prototypes", "picker.html"))); const refused = ["picker.md", "../../../secret.html", "missing.html", path.join(base, "secret.html"), "picker.html.exe", "", undefined]; for (const name of refused) assert.equal(await prototypeHtmlPath(root, SPEC, name), null, String(name)); } finally { diff --git a/scripts/test-web-console-state.mjs b/scripts/test-web-console-state.mjs index b379f22..ee1c998 100644 --- a/scripts/test-web-console-state.mjs +++ b/scripts/test-web-console-state.mjs @@ -57,6 +57,7 @@ test("state: the rest of the shared state starts as app.js always started it", ( loopAction: null, subagentsFrame: null, overview: { key: null, files: {} }, + prototypes: { key: null, files: [], open: null, texts: {} }, wake: null, dashPick: null, mentionPop: null,