From 4d1842c8f5cd526dbaea3153ae4f03b7d0fa4360 Mon Sep 17 00:00:00 2001 From: "sachin.sharma" Date: Tue, 23 Jan 2024 00:29:25 +0530 Subject: [PATCH] Adding test command to pre commit to make sure that it makes sure that all tests are fixed --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index ec60d6d3..81a20c80 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -pnpm run lint:fix && pnpm run prettier:fix +pnpm run lint:fix && pnpm run prettier:fix && pnpm run test:api