Test CI Breaks on test failure

This commit is contained in:
Sean Landsman
2019-03-06 09:36:31 +00:00
parent 3d7774e7c7
commit ec4f7dea27

View File

@@ -7,7 +7,7 @@ error_found=false
# has an invalid property - should complain # 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 ./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" echo "ag-grid-react grid with invalid property should throw a compiler error"
error_found=true error_found=true
fi fi