Skip to content
Snippets Groups Projects
Commit 105f5a64 authored by Igor Markin's avatar Igor Markin
Browse files

Implement gmail-outlook cases

parent ba1dfdf8
No related branches found
No related tags found
1 merge request!2Refactor test cases handler
Showing
with 60 additions and 0 deletions
import { EMAIL_VENDORS } from "../src";
const path = require("path");
import { describe } from "@jest/globals";
import { createDescribeHtmlTestCases } from "./utils";
const TESTS_GLOBAL_PATH = "/files/gmail-outlook";
const testsPath = path.resolve(__dirname, `.${TESTS_GLOBAL_PATH}`);
describe("[HTML] GMail-Outlook", () => {
const describeFunction = createDescribeHtmlTestCases(
testsPath,
EMAIL_VENDORS.GMAIL
);
describe(
"One",
describeFunction("one", [
"02",
"03",
"04",
"20forward",
"20reply",
"21reply",
"22reply",
"23reply",
"24reply",
"25reply",
"26reply",
"27reply",
])
);
});
import { describe } from "@jest/globals";
import { createDescribePlainTestCases } from "./utils";
const path = require("path");
const TESTS_GLOBAL_PATH = "/files/gmail-outlook";
const testsPath = path.resolve(__dirname, `.${TESTS_GLOBAL_PATH}`);
describe("[Plain] Gmail-Outlook normalization", () => {
const describeFunction = createDescribePlainTestCases(testsPath);
describe(
"One",
describeFunction("one", [
"02",
"04",
"20forward",
"20reply",
"21reply",
"22reply",
"23reply",
"24reply",
"25reply",
"26reply",
"27reply",
])
);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment