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