Skip to content

Commit

Permalink
fix(): unit test for incorrect login
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucharz committed Dec 24, 2017
1 parent 25bffda commit 1716b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/tests/unit/commands-login.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ describe('[commands] Login', function () {
error = {
message: getRandomString('login_loginOrRegister_error_message')
}
const errorMessages = [`😢 ${error.message}`]
const errorMessages = [`😢 ${format.red(error.message)}`]

this.stub(session.connection.account, 'login').returns(Promise.reject(error))

Expand Down

0 comments on commit 1716b81

Please sign in to comment.