From 98385972ea071624b93f300c0e814d9bb4e155a5 Mon Sep 17 00:00:00 2001 From: zoruka Date: Fri, 2 Dec 2022 12:28:26 -0300 Subject: [PATCH] chore: add skip tests flag --- .husky/pre-push | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.husky/pre-push b/.husky/pre-push index bfc028b..6fd7e39 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1,9 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" +if [[ $* == *--skip-tests* ]] +then + exit 0 +fi + yarn test