Skip to content
Snippets Groups Projects

"Rework normalisation logic to handle new seal templates"

13 files
+ 63
29
Compare changes
  • Side-by-side
  • Inline
Files
13
+ 16
1
@@ -63,6 +63,11 @@ export const createHtmlTestsRunner = (testsPath: string, vendor: string) => (
filteringOptions
);
if (!testCases.length) {
test.skip("", () => null);
return;
}
test.concurrent.each(testCases)(
"Case %s",
async (dirName, { sentMime, receivedMime }) => {
@@ -102,6 +107,11 @@ export const createPlainTestsRunner = (testsPath: string) => (
filteringOptions
);
if (!testCases.length) {
test.skip("", () => null);
return;
}
test.concurrent.each(testCases)(
"Case %s",
async (dirName, { sentMime, receivedMime }) => {
@@ -143,6 +153,11 @@ export const createPseudoplainTestsRunner = (
filteringOptions
);
if (!testCases.length) {
test.skip("", () => null);
return;
}
test.concurrent.each(testCases)(
"Case %s",
async (dirName, { sentMime, receivedMime }) => {
@@ -216,7 +231,7 @@ const filterTestCases = (
const ignore = options?.ignore;
const checkExclusively = options?.checkExclusively;
if (checkExclusively?.length) {
if (checkExclusively) {
return casesNames.filter((caseName) => checkExclusively.includes(caseName));
}
Loading