File size: 337 Bytes
c09f67c
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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");
});