From 0eaad219114239b693a68110a42b984a4f4f5b29 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 2 Jan 2023 20:25:51 +0100 Subject: Continue adding tests --- GNUmakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 6e16807..badea96 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -3,7 +3,7 @@ SHELL:=bash .PHONY: check check: ## make check # Check syntax of entry points - eslint main.js test.js test/ + eslint main.js fixtures.js tests/ (cd static; eslint index.js) .PHONY: init @@ -21,8 +21,8 @@ run: ## make run # run a production nodejs web server .PHONY: test test: check ## make test # run tests @rm -f testjdm.db testsessions.db - NODE_ENV=test node test.js - NODE_ENV=test ava --watch test/ + NODE_ENV=test node fixtures.js + NODE_ENV=test vitest @rm -f testjdm.db testsessions.db help: -- cgit v1.2.3