Skip to content

Commit

Permalink
Always echo test output.
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Jun 8, 2017
1 parent 53be4f3 commit 01a2dbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .tasks/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ echo "starting tests"
#2>&1 saves both the stderr and stdout to the variable.
output=$(yarn test 2>&1)

echo "$output"

if [ $? -ne 0 ]
then
echo "yarn test exited with $?"
echo -e "$output"
exit 1
fi

Expand Down

0 comments on commit 01a2dbb

Please sign in to comment.