aboutsummaryrefslogtreecommitdiff
path: root/test/js/third_party/nodemailer/nodemailer.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/third_party/nodemailer/nodemailer.test.ts')
-rw-r--r--test/js/third_party/nodemailer/nodemailer.test.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/js/third_party/nodemailer/nodemailer.test.ts b/test/js/third_party/nodemailer/nodemailer.test.ts
new file mode 100644
index 000000000..265112608
--- /dev/null
+++ b/test/js/third_party/nodemailer/nodemailer.test.ts
@@ -0,0 +1,15 @@
+import { test, expect, describe } from "bun:test";
+import { bunRun } from "harness";
+import path from "path";
+
+describe("nodemailer", () => {
+ test("basic smtp", async () => {
+ try {
+ const info = bunRun(path.join(import.meta.dir, "process-nodemailer-fixture.js"));
+ expect(info.stdout).toBe("true");
+ expect(info.stderr || "").toBe("");
+ } catch (err: any) {
+ expect(err?.message || err).toBe("");
+ }
+ }, 10000);
+});