Merge branch 'hs-e39-webworker' into loops/hs

This commit is contained in:
2026-04-26 07:26:25 +00:00
3 changed files with 7 additions and 1 deletions

View File

@@ -13610,5 +13610,9 @@ end")
;; ── worker (1 tests) ──
(defsuite "hs-upstream-worker"
(deftest "raises a helpful error when the worker plugin is not installed"
(error "SKIP (untranslated): raises a helpful error when the worker plugin is not installed"))
(let ((result (guard (e (true (if (string? e) e (str e))))
(hs-compile "worker MyWorker def noop() end end")
"")))
(assert (contains? result "worker plugin"))
(assert (contains? result "hyperscript.org/features/worker"))))
)