Skip to content

Commit

Permalink
fix linters issues
Browse files Browse the repository at this point in the history
  • Loading branch information
epszaw committed Jan 28, 2025
1 parent 6dcc2e3 commit 6e795bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/allure-cypress/src/browser/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ export const uint8ArrayToBase64 = (data: unknown) => {

export const getTestStartData = (test: CypressTest) => ({
...getNamesAndLabels(Cypress.spec, test),
start: typeof test.wallClockStartedAt === "string" ? Date.parse(test.wallClockStartedAt) : test.wallClockStartedAt?.getTime?.() || Date.now(),
start:
typeof test.wallClockStartedAt === "string"
? Date.parse(test.wallClockStartedAt)
: test.wallClockStartedAt?.getTime?.() || Date.now(),
});

export const getTestStopData = (test: CypressTest) => ({
Expand Down

0 comments on commit 6e795bf

Please sign in to comment.