From 3acf783d948ebb1907da875ef87b0da9ef2309ff Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 1 Jan 2023 23:23:57 +0100 Subject: Began adding tests --- package.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 4cfa3c8..6ee5246 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,11 @@ "node": ">=18.10.0" }, "devDependencies": { + "ava": "^5.1.0", "eslint": "^8.25.0", "eslint-plugin-node": "^11.1.0", - "nodemon": "^2.0.20" + "nodemon": "^2.0.20", + "supertest": "^6.3.3" }, "dependencies": { "bcrypt": "^5.1.0", @@ -23,5 +25,13 @@ "express-session": "^1.17.3", "express-validator": "^6.14.2", "helmet": "^6.0.0" + }, + "ava": { + "ignoredByWatcher": [ + "GNUmakefile", + "testjdm.db", + "testsessions.db", + "testsessions.db-journal" + ] } } -- cgit v1.2.3