Skip to content

Commit

Permalink
remove rest forced type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshurajora committed Dec 14, 2023
1 parent 1ba7803 commit 13b4d2e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ test("Should try for two requests with same url and should contain error for the
const url = `https://example-${Date.now()}.com`;

const response1 = await getShortLink({
username: process.env["YOURLS_USERNAME"]!,
password: process.env["YOURLS_PASSWORD"]!,
serverUrl: process.env["YOURLS_SERVER_URL"]!,
username: process.env["YOURLS_USERNAME"],
password: process.env["YOURLS_PASSWORD"],
serverUrl: process.env["YOURLS_SERVER_URL"],
url,
});

const response2 = await getShortLink({
username: process.env["YOURLS_USERNAME"]!,
password: process.env["YOURLS_PASSWORD"]!,
serverUrl: process.env["YOURLS_SERVER_URL"]!,
username: process.env["YOURLS_USERNAME"],
password: process.env["YOURLS_PASSWORD"],
serverUrl: process.env["YOURLS_SERVER_URL"],
url,
});

Expand Down

0 comments on commit 13b4d2e

Please sign in to comment.