From 9968a00965b3e447c4a42c1191cdf27e08e13209 Mon Sep 17 00:00:00 2001 From: igor <igor.markin@vereign.com> Date: Wed, 23 Dec 2020 13:06:14 +0300 Subject: [PATCH] Cover windows-windows cases --- __tests__/html-outlook-outlook.test.ts | 7 +++++++ __tests__/htmltext-outlook-outlook.test.ts | 9 ++++++++- __tests__/plain-outlook-outlook.test.ts | 7 +++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/__tests__/html-outlook-outlook.test.ts b/__tests__/html-outlook-outlook.test.ts index fc87499..6e3e05a 100644 --- a/__tests__/html-outlook-outlook.test.ts +++ b/__tests__/html-outlook-outlook.test.ts @@ -17,4 +17,11 @@ describe("[HTML] Outlook-Outlook emails normalization", () => { "MacOS-MacOS", describeFunction("macos-macos", ["03", "04", "05", "08"]) ); + describe( + "Windows-Windows", + describeFunction("windows-windows", [ + "06", // mismatch of sent and received emls. Passing though ) + "08", // mismatch of sent and received emls. Passing though ) + ]) + ); }); diff --git a/__tests__/htmltext-outlook-outlook.test.ts b/__tests__/htmltext-outlook-outlook.test.ts index 65457cc..42da8e7 100644 --- a/__tests__/htmltext-outlook-outlook.test.ts +++ b/__tests__/htmltext-outlook-outlook.test.ts @@ -14,6 +14,13 @@ describe("[Pseudo PLAIN] Outlook-Outlook normalization", () => { ); // ["01"] - is a filter. Pass here names of directories with test cases you want to check - // describe("Chrome-Chrome", describeFunction("chrome-chrome")); + describe("Chrome-Chrome", describeFunction("chrome-chrome")); describe("MacOS-MacOS", describeFunction("macos-macos", null)); + describe( + "Windows-Windows", + describeFunction("windows-windows", [ + "06", // mismatch of sent and received emls. Passing though ) + "08", // mismatch of sent and received emls. Passing though ) + ]) + ); }); diff --git a/__tests__/plain-outlook-outlook.test.ts b/__tests__/plain-outlook-outlook.test.ts index ac156b5..ac2fa31 100644 --- a/__tests__/plain-outlook-outlook.test.ts +++ b/__tests__/plain-outlook-outlook.test.ts @@ -10,4 +10,11 @@ describe("[Plain] Outlook-Outlook normalization", () => { const describeFunction = createDescribePlainTestCases(testsPath); describe("Chrome-Chrome", describeFunction("chrome-chrome", ["16"])); describe("MacOS-MacOS", describeFunction("macos-macos", null)); + describe( + "Windows-Windows", + describeFunction("windows-windows", [ + "06", // mismatch of sent and received emls. Passing though ) + "08", // mismatch of sent and received emls. Passing though ) + ]) + ); }); -- GitLab