Skip to content

Commit

Permalink
chore: update test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
KenLSM committed May 23, 2024
1 parent a89a764 commit a9a581c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ describe('postman-sms.service', () => {
expect(postmanSendSpy).not.toHaveBeenCalled()
})

it('should log and send verification OTP when sending has no errors', async () => {
it('should log and send verification OTP through MOP channel when sending has no errors', async () => {
// Arrange
jest.spyOn(FormModel, 'getOtpData').mockResolvedValueOnce(mockOtpData)

Expand All @@ -271,7 +271,7 @@ describe('postman-sms.service', () => {
expect(postmanSendSpy).toHaveBeenCalledOnce()
})

it('should log failure and return InvalidNumberError when verification OTP fails to send due to invalid number', async () => {
it('should return InvalidNumberError when verification OTP fails to send due to invalid number', async () => {
// Arrange
jest.spyOn(FormModel, 'getOtpData').mockResolvedValueOnce(mockOtpData)
const postmanSendSpy = jest
Expand Down

0 comments on commit a9a581c

Please sign in to comment.