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 Jun 7, 2024
1 parent af151b5 commit 307a1f5
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 @@ -178,12 +178,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 initializeAllure = () => {
const initialized = Cypress.env("allureInitialized") as boolean;
Expand Down Expand Up @@ -253,7 +248,7 @@ const initializeAllure = () => {
},
});
})
.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 307a1f5

Please sign in to comment.