We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1be97b commit 8a218d0Copy full SHA for 8a218d0
1 file changed
scripts/run-all-cdk-tests.sh
@@ -10,6 +10,12 @@ run_test(){
10
local workdir=$1
11
cd "$workdir" || exit 1
12
echo "Running tests for $workdir"
13
+ if [ -f "jest.config.js" ]; then
14
+ echo "Using jest configuration at ${workdir}jest.config.js"
15
+ npx jest --config jest.config.js
16
+ else
17
+ npx jest
18
+ fi
19
npm run test
20
if [ $? -ne 0 ]; then
21
echo "Tests failed for $workdir"
0 commit comments