add ui tests to ci
CI / Test + coverage (push) Successful in 1m33s

This commit is contained in:
2026-09-19 19:17:22 -09:00
parent 1926432fc6
commit 47f6cbf2d1
22 changed files with 2426 additions and 84 deletions
+5 -1
View File
@@ -5,7 +5,9 @@
"description": "ClojureScript (re-frame) front end for the tbd server",
"scripts": {
"watch": "shadow-cljs watch app",
"release": "shadow-cljs release app"
"release": "shadow-cljs release app",
"test": "shadow-cljs compile test && node -r ./test/dom-setup.cjs target/ui-test/test.js",
"coverage": "shadow-cljs compile test && c8 --reporter=none node -r ./test/dom-setup.cjs target/ui-test/test.js && cp -r src/tbd .shadow-cljs/builds/test/dev/out/cljs-runtime/ && c8 report"
},
"dependencies": {
"@jason.today/webmcp": "0.1.13",
@@ -13,6 +15,8 @@
"react-dom": "^19.3.0"
},
"devDependencies": {
"c8": "^12.0.0",
"jsdom": "^30.1.0",
"shadow-cljs": "^3.5.3"
}
}