diff options
author | Julien Dessaux | 2023-01-02 20:25:51 +0100 |
---|---|---|
committer | Julien Dessaux | 2023-01-02 20:26:30 +0100 |
commit | 0eaad219114239b693a68110a42b984a4f4f5b29 (patch) | |
tree | f7dec8d1e0ae644caeaadca89a69f88a3a241478 /GNUmakefile | |
parent | Began adding tests (diff) | |
download | jeux-de-mots-0eaad219114239b693a68110a42b984a4f4f5b29.tar.gz jeux-de-mots-0eaad219114239b693a68110a42b984a4f4f5b29.tar.bz2 jeux-de-mots-0eaad219114239b693a68110a42b984a4f4f5b29.zip |
Continue adding tests
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 3 insertions, 3 deletions
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: |