refactor: move plugin loading into typed registry
This commit is contained in:
@@ -11,6 +11,8 @@ const indexPath = new URL("../../assets/web/index.html", import.meta.url);
|
||||
test("index loads the shared UI before the application", async () => {
|
||||
const html = await readFile(indexPath, "utf8");
|
||||
assert.ok(html.indexOf("/ui-core.js") < html.indexOf("/app.js"));
|
||||
assert.ok(html.indexOf("/plugin-loader.js") < html.indexOf("/app.js"));
|
||||
assert.equal(html.includes("var pluginScripts"), false);
|
||||
});
|
||||
|
||||
test("startup has no remote script or stylesheet dependencies", async () => {
|
||||
|
||||
Reference in New Issue
Block a user