Skip to content
Snippets Groups Projects

Initial

Merged Igor Markin requested to merge initial into master
3 files
+ 34
12
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -18,7 +18,7 @@ const getTestCasesDirs = (testCasesPath: string) => {
@@ -18,7 +18,7 @@ const getTestCasesDirs = (testCasesPath: string) => {
return fs.statSync(testCasesPath + "/" + file).isDirectory();
return fs.statSync(testCasesPath + "/" + file).isDirectory();
});
});
};
};
console.debug = () => {}
const getNormalizedHtml = (
const getNormalizedHtml = (
testCasePath: string
testCasePath: string
): {
): {
@@ -61,7 +61,7 @@ describe("Outlook emails HTML normalization", () => {
@@ -61,7 +61,7 @@ describe("Outlook emails HTML normalization", () => {
try {
try {
normalizedHtmls = getNormalizedHtml(testCasePath);
normalizedHtmls = getNormalizedHtml(testCasePath);
} catch (e) {
} catch (e) {
console.log("Invalid test case: " + dirName);
console.log(`Invalid test case: ${casesName}/${dirName}`);
return;
return;
}
}
@@ -75,7 +75,9 @@ describe("Outlook emails HTML normalization", () => {
@@ -75,7 +75,9 @@ describe("Outlook emails HTML normalization", () => {
describe("Emails Chrome", describeTestCases("chrome"));
describe("Emails Chrome", describeTestCases("chrome"));
describe("Emails Edge", describeTestCases("edge"));
describe("Emails Edge", describeTestCases("edge"));
//describe("Emails Gmail", describeTestCases("gmail"));
describe("Emails Safari", describeTestCases("safari"));
 
// describe("Emails MacOS", describeTestCases("macos"));
 
// describe("Emails Windows", describeTestCases("windows"));
// it("Emails Edge", () => {
// it("Emails Edge", () => {
// })
// })
Loading