diff --git a/test/typescript/mail.ts b/test/typescript/mail.ts index 681b29e9a..fb8199860 100644 --- a/test/typescript/mail.ts +++ b/test/typescript/mail.ts @@ -1,12 +1,12 @@ import { Client } from "@sendgrid/client"; import sgMail = require("@sendgrid/mail"); -// Test setApiKey() method -sgMail.setApiKey("MY_SENDGRID_API_KEY"); - // Test setClient() method sgMail.setClient(new Client()); +// Test setApiKey() method +sgMail.setApiKey("MY_SENDGRID_API_KEY"); + // Test setSubstitutionWrappers() method sgMail.setSubstitutionWrappers("{{", "}}") @@ -276,4 +276,4 @@ sgMail.send({ ipPoolName: 'sendgrid-ip-pool-name', mailSettings: {}, trackingSettings: {}, -}); \ No newline at end of file +});