From 13cb10d4650131a3c3a35ba02b87819e8c977e37 Mon Sep 17 00:00:00 2001 From: Derk-Jan Karrenbeld Date: Wed, 31 Jul 2024 22:45:27 +0200 Subject: [PATCH] Add flags to todos --- bin/run.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/run.sh b/bin/run.sh index 14ac138..8e7dddb 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -472,6 +472,8 @@ if test -d "${OUTPUT}__typetests__/"; then fi; else # TODO: check the config file to see if tstyche tests were expected or not + # flag.tests.tstyche + echo "✅ no type tests (*.tst.ts) discovered." fi; @@ -485,8 +487,10 @@ jest_tests=$(cd "${OUTPUT}" && corepack yarn jest --listTests --passWithNoTests) if [ -z "${jest_tests}" ]; then echo "✔️ no jest tests (*.test.ts) discovered." + # TODO: check the config file to see if jest tests were expected or not + # flag.tests.jest + if [ "$has_type_test" = true ]; then - # TODO: check the config file to see if jest tests were expected or not echo "" echo "✅ did run type tests, so this is fine."