fix(angular-ticket) properly test exit code