ci(linter errors): fixes for linting errors to make it more happy
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { promisify } from "node:util";
|
||||
import type { Transporter } from "nodemailer";
|
||||
import nodemailer from "nodemailer";
|
||||
import type Mail from "nodemailer/lib/mailer/index.js";
|
||||
import type { Address } from "nodemailer/lib/mailer/index.js";
|
||||
import type SMTPTransport from "nodemailer/lib/smtp-transport/index.js";
|
||||
import hbs from "nodemailer-express-handlebars";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { promisify } from "util";
|
||||
import { returnFunc } from "./returnHelper.utils.js";
|
||||
import { tryCatch } from "./trycatch.utils.js";
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ describe("Prod SQL connection", () => {
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
if (pool && pool.close) await pool.close();
|
||||
if (pool?.close) await pool.close();
|
||||
});
|
||||
|
||||
it("should connect and return expected data", async () => {
|
||||
|
||||
Reference in New Issue
Block a user