Skip to content

Commit

Permalink
Fix test_node
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Nov 7, 2017
1 parent 67fee48 commit 11f91bd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/travis-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ run_test() {
fi
}

run_test_node() {
if [ "$REACT" != 16 ]; then
npm run test-node -- -w 2 -u
else
npm run test-node -- -w 2
fi
}

if [ "$TEST_TYPE" = lint ]; then
npm run lint
elif [ "$TEST_TYPE" = test:dist ]; then
Expand All @@ -30,5 +38,5 @@ elif [ "$TEST_TYPE" = test:dom ]; then
bash <(curl -s https://codecov.io/bash)
fi
elif [ "$TEST_TYPE" = test:node ]; then
npm run test-node -- -w 2 -u
run_test_node
fi

0 comments on commit 11f91bd

Please sign in to comment.