Skip to content

Commit

Permalink
Issue 229: clear skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
Iaroslav Liashenko authored and Shelex committed Mar 15, 2024
1 parent 68165b1 commit bd8ea53
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion writer/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,12 @@ const writeTests = ({
logger.writer('skipping test "%s"', test.name);

const mochaID = Object.keys(allureMapping).find(

Check failure on line 137 in writer/results.js

View workflow job for this annotation

GitHub Actions / Publish

Delete `⏎················`
(id) => allureMapping[id].allureId === test.uuid
(id) => {
if (Array.isArray(allureMapping[id])) {

Check failure on line 139 in writer/results.js

View workflow job for this annotation

GitHub Actions / Publish

Delete `····`
return allureMapping[id].find(e => e.allureId === test.uuid);

Check failure on line 140 in writer/results.js

View workflow job for this annotation

GitHub Actions / Publish

Replace `····return·allureMapping[id].find(e·=>·e.allureId·===·test.uuid);` with `return·allureMapping[id].find(⏎························(e)·=>·e.allureId·===·test.uuid`
}

Check failure on line 141 in writer/results.js

View workflow job for this annotation

GitHub Actions / Publish

Replace `}` with `);`
return allureMapping[id].allureId === test.uuid;

Check failure on line 142 in writer/results.js

View workflow job for this annotation

GitHub Actions / Publish

Replace `···········` with `·······}⏎················`
}

Check failure on line 143 in writer/results.js

View workflow job for this annotation

GitHub Actions / Publish

Replace `····}⏎············` with `}`
);
if (mochaID) {
delete allureMapping[mochaID];
Expand Down

0 comments on commit bd8ea53

Please sign in to comment.