Fix plugin install bugs and add plugin-config tests

- Add validation for plugins.edn with malli
- Add bb task using malli schema
- Add first async test that interacts with frontend.fs
- Add test helpers to make future async testing easier
This commit is contained in:
Gabriel Horner
2022-10-06 14:35:00 -04:00
parent bf79db9d54
commit c8cda90373
16 changed files with 359 additions and 62 deletions

View File

@@ -806,9 +806,8 @@
[:h1.mb-4.text-2xl.p-1 "Install plugins from plugins.edn"]
(if (seq plugins)
[:div
[:div.mb-2.text-xl (util/format "The following %s plugin(s) will replace your %s plugin(s):"
(count (:install plugins))
(count (:uninstall plugins)))]
[:div.mb-2.text-xl (util/format "The following %s plugin(s) will replace your plugins:"
(count (:install plugins)))]
;; lists
[:ul
(for [it (:install plugins)