mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-12-05 08:15:41 -08:00
Make every URL the console page uses page-relative, guarded by a source test
AI Assisted
This commit is contained in:
1 parent
4ced32be5c
commit
1d007737b1
47 files changed
+401
-202
No files matched your search
@@ -516,7 +516,7 @@ test("prefs: the new modules are served and preloaded, and Preferences' styles l
|
||||
"screens/agents/agents-form.js",
|
||||
]) {
|
||||
assert.ok(SERVABLE.has(m), `${m} is servable`);
|
||||
assert.ok(html.includes(`rel="modulepreload" href="/${m}"`), `the page preloads ${m}`);
|
||||
assert.ok(html.includes(`rel="modulepreload" href="${m}"`), `the page preloads ${m}`);
|
||||
}
|
||||
for (const sheet of ["styles/prefs.css", "styles/agents.css"]) {
|
||||
const css = publicSource(sheet);
|
||||
|
||||
Reference in new issue
Block a user