From efe05c1444963c046ab91bf54fa51a794bda58c0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 16 Feb 2026 22:49:07 +0900 Subject: test(worker): add unit tests for php and swift workers Extract testable logic from exec.mjs into lib.mjs (preprocessCode, createIOCallbacks, buildResult) and add vitest tests. Add Go tests for models, exec helpers, and handlers in worker/swift. Update justfiles to include test tasks for local dev and CI. Co-Authored-By: Claude Opus 4.6 --- justfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'justfile') diff --git a/justfile b/justfile index fe4c6b2..4825e9d 100644 --- a/justfile +++ b/justfile @@ -59,3 +59,5 @@ check: test: cd backend; just test + cd worker/swift; just test + npm -w worker/php run test -- cgit v1.3.1