diff makefile @ 2257:8ebf79d6b957

add vitest
author drewp@bigasterisk.com
date Mon, 29 May 2023 11:33:23 -0700
parents c921e1cae0af
children 1aaa449e89d0
line wrap: on
line diff
--- a/makefile	Sat May 27 23:08:17 2023 -0700
+++ b/makefile	Mon May 29 11:33:23 2023 -0700
@@ -106,16 +106,8 @@
 pytest_watch:
 	pdm run ptw
 
-test_js_init:
-	npm install
-
 test_js:
-	pnpx coffee -c light9/web/*.coffee
-	pnpx mocha --compilers coffee:coffee-script/register --globals window,N3 light9/web/graph_test.coffee
-
-test_js_watch:
-	# have coffee continuously running
-	watch -c pnpx mocha --compilers coffee:coffee-script/register --globals window,N3 light9/web/graph_test.coffee --colors
+	pnpm exec vitest
 
 profile_seq:
 	echo in lib, get https://github.com/uber/pyflame.git and https://github.com/brendangregg/FlameGraph.git