From eecd2a6bb2c0fc17ff2c03c698b29a19d726051f Mon Sep 17 00:00:00 2001 From: Sean Landsman Date: Wed, 6 Mar 2019 14:13:10 +0000 Subject: [PATCH] AG-1520 React wrapper causes styling issues for components --- package.json | 2 +- ts-tests/runTsTests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ed2c5f4..9196015 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "build-all": "npm run build-examples && npm run build-dashboard", "build": "npm run clean && npm run mkdirs && npm run build-all && npm run copy", "start": "npm run examples", - "test" : "sh ./ts-tests/runTsTests.sh" + "test" : "./ts-tests/runTsTests.sh" }, "repository": { "type": "git", diff --git a/ts-tests/runTsTests.sh b/ts-tests/runTsTests.sh index f04d1bb..5970611 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 0 ]; then +if [ $? -ne 1 ]; then echo "ag-grid-react grid with invalid property should throw a compiler error" error_found=true fi