feat: finish the ai plugin (B18)

This commit is contained in:
LukeGus committed 2026-09-24 13:43:26 -05:00
1 parent 6b4d1432ab
commit 21937a6b02
193 files changed
+23429 -4244

No files matched your search

@@ -57,6 +57,11 @@ describe(`${manifest.id} activate`, () => {
expect(app.registered.actions()).toEqual([]);
});
it("registers the providers list as its custom settings field", async () => {
rendered = await renderWithApp(plugin, { manifest, locales });
expect(rendered.registered.settingsComponents()).toEqual(["providers"]);
});
it("adds the assistant tab once AI is on for the user", async () => {
rendered = await renderWithApp(plugin, { manifest, locales });
await waitFor(() => expect(rendered!.registered.tabs()).toEqual(["ai"]));