From ec4f7dea2769c8e3a0096de790c8a8c1bfcb16ef Mon Sep 17 00:00:00 2001 From: Sean Landsman Date: Wed, 6 Mar 2019 09:36:31 +0000 Subject: [PATCH] Test CI Breaks on test failure --- ts-tests/runTsTests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-tests/runTsTests.sh b/ts-tests/runTsTests.sh index 5970611..f04d1bb 100755 --- a/ts-tests/runTsTests.sh +++ b/ts-tests/runTsTests.sh @@ -7,7 +7,7 @@ error_found=false # has an invalid property - should complain ./node_modules/.bin/tsc --target "ES5" --module 'commonjs' --lib esnext,dom --allowSyntheticDefaultImports --jsx 'preserve' --noEmit --strict ts-tests/InvalidGridProperty.tsx &> /dev/null -if [ $? -ne 1 ]; then +if [ $? -ne 0 ]; then echo "ag-grid-react grid with invalid property should throw a compiler error" error_found=true fi