Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Update server.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
giovd8 committed Apr 13, 2020
1 parent 94d62e5 commit 55c39df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __tests__/server.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test("Send message to invalid chat id", () => {
try {
sendMessage(message, chatId);
} catch (e) {
expect(e.message).toBe("Request failed with status code 400");
expect(e.message).toBe("Errore 400 nell'invio del messaggio");
}
});

Expand All @@ -17,6 +17,7 @@ test("Send message to valid chat id", () => {
sendMessage(message, chatId);
expect(message).toBe("test");
} catch (e) {
console.log("Errore nell'invio del messaggio");
}
});

Expand Down

0 comments on commit 55c39df

Please sign in to comment.