diff --git a/index.test.ts b/index.test.ts index 37ad555..83b6409 100644 --- a/index.test.ts +++ b/index.test.ts @@ -1,3 +1,4 @@ +// @ts-nocheck import * as dotenv from "dotenv"; import { getShortLink } from "./index"; @@ -5,9 +6,9 @@ dotenv.config(); test("Should get a unique shorturl without any errors", async () => { const response = await getShortLink({ - username: process.env["YOURLS_USERNAME"] as string, - password: process.env["YOURLS_PASSWORD"] as string, - serverUrl: process.env["YOURLS_SERVER_URL"] as string, + username: process.env["YOURLS_USERNAME"], + password: process.env["YOURLS_PASSWORD"], + serverUrl: process.env["YOURLS_SERVER_URL"], // A uniquely generated url url: `https://example-${Date.now()}.com`, });