Skip to content

Commit

Permalink
Updated: tests for new UA
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Dec 11, 2023
1 parent ac37fcd commit dc9366d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Client', () => {
message,
{
"Content-Type": "application/json",
"User-Agent": "android-sms-gateway/1.0 (js)",
"User-Agent": "android-sms-gateway/1.0 (client; js)",
Authorization: expect.any(String),
},
);
Expand All @@ -68,7 +68,7 @@ describe('Client', () => {
expect(mockHttpClient.get).toHaveBeenCalledWith(
`${BASE_URL}/message/${messageId}`,
{
"User-Agent": "android-sms-gateway/1.0 (js)",
"User-Agent": "android-sms-gateway/1.0 (client; js)",
Authorization: expect.any(String),
},
);
Expand Down

0 comments on commit dc9366d

Please sign in to comment.