Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Jul 2, 2023
1 parent 1a8ab58 commit e087569
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/js/third_party/nodemailer/nodemailer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import path from "path";

describe("nodemailer", () => {
test("basic smtp", async () => {
expect(() => {
try {
const info = bunRun(path.join(import.meta.dir, "process-nodemailer-fixture.js"));
expect(info.stdout).toBe("true");
expect(info.stderr || "").toBe("");
}).not.toThrow();
} catch (err: any) {
expect(err?.message || err).toBe("");
}
}, 10000);
});

0 comments on commit e087569

Please sign in to comment.