15075aaf

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Add JavaScript test runner (#72)

Add a Node test runner for static JavaScript, wire it into pre-commit and Nix checks, and document the underscore-prefix convention that keeps static JS tests out of embedded production assets.

Reviewed-on: https://codeberg.org/mtlynch/go-app-starter/pulls/72

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 10s 10s 12s 2s
Eval 9s 32s 32s 42s 0s
Build 16s 2m44s 1m01s 1m17s 20s
Deploy 1m43s 0s 0s 1m43s 26s
Suite 2s 3m27s 1m41s 1m43s 49s

Timeline

0s10s20s30s40s1m10s