fix: fixed unit tests

This commit is contained in:
Anoop M D 2023-01-21 01:56:30 +05:30
parent 9c14941c15
commit d3d1e47950
3 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ describe('bruToJson', () => {
expect(result).toEqual({
"type": "http-request",
"name": "Send Bulk SMS",
"seq": 1,
"request": {
"method": "GET",
"url": "https://api.textlocal.in/bulk_json?apiKey=secret=&numbers=919988776655&message=hello&sender=600010",

View File

@ -3,6 +3,7 @@ method GET
url https://api.textlocal.in/bulk_json?apiKey=secret=&numbers=919988776655&message=hello&sender=600010
type http-request
body-mode json
seq 1
params
1 apiKey secret

View File

@ -10,6 +10,7 @@ describe('bruToJson', () => {
const request = {
"type": "http-request",
"name": "Send Bulk SMS",
"seq": 1,
"request": {
"method": "GET",
"url": "https://api.textlocal.in/bulk_json?apiKey=secret=&numbers=919988776655&message=hello&sender=600010",