Skip to content

Commit

Permalink
feat: cypress report skipped tests - fix lint / prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBattaglia committed May 20, 2024
1 parent 0328727 commit d222a08
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/allure-cypress/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,7 @@ export class AllureCypressTestRuntime implements TestRuntime {
}
}

const {
EVENT_TEST_BEGIN,
EVENT_TEST_FAIL,
EVENT_TEST_PASS,
EVENT_TEST_PENDING
} = Mocha.Runner.constants;
const { EVENT_TEST_BEGIN, EVENT_TEST_FAIL, EVENT_TEST_PASS, EVENT_TEST_PENDING } = Mocha.Runner.constants;

const getSuitePath = (test: Mocha.Test): string[] => {
const path: string[] = [];
Expand Down Expand Up @@ -277,7 +272,7 @@ Cypress.mocha
},
});
})
.on(EVENT_TEST_PENDING, (test: Mocha.Test, err: Error) => {
.on(EVENT_TEST_PENDING, (test: Mocha.Test) => {
const testRuntime = new AllureCypressTestRuntime();

const startMessage: CypressRuntimeMessage = {
Expand Down

0 comments on commit d222a08

Please sign in to comment.