From e6d88aaf5a8eedacf0448d33fa499ad861ad7cf7 Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Tue, 26 Nov 2024 13:45:06 +0530 Subject: [PATCH] fix: remove dummy tests Signed-off-by: Ayush Sharma --- scripts/utg.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/utg.sh b/scripts/utg.sh index 02d5265..ccf3ea7 100644 --- a/scripts/utg.sh +++ b/scripts/utg.sh @@ -84,3 +84,12 @@ fi # Run the keploy command # echo "Running: $keployCommand" eval $keployCommand + +# Remove the dummy test +if [ "$extension" = "py" ]; then + sed -i '/def test_dummy():/,+1d' "$testFilePath" +fi + +if [ "$extension" = "js" ] || [ "$extension" = "ts" ]; then + sed -i '/describe('\''Dummy test'\'', () => {/,+4d' "$testFilePath" +fi \ No newline at end of file