Midday / packages /inbox /src /utils.test.ts
Jules
Final deployment with all fixes and verified content
c09f67c
Raw
History Blame Contribute Delete
337 Bytes
import { expect, test } from "bun:test";
import { getInboxEmail, getInboxIdFromEmail } from ".";
test("Get inbox id from email", () => {
expect(getInboxIdFromEmail("egr34f@inbox.midday.ai")).toMatch("egr34f");
});
test("Get inbox email by id", () => {
expect(getInboxEmail("egr34f")).toMatch("egr34f@inbox.staging.midday.ai");
});