Skip to content

Commit 600d158

Browse files
committed
clean up a line to make it easier to read
1 parent a8ec788 commit 600d158

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/find/tests/findForUrl.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ vi.mock('playwright', () => ({
2626

2727
vi.mock('@axe-core/playwright', () => {
2828
const AxeBuilderMock = vi.fn()
29-
AxeBuilderMock.prototype.analyze = vi.fn(() => Promise.resolve({violations: []} as unknown as axe.AxeResults))
29+
const rawFinding = {violations: []} as unknown as axe.AxeResults
30+
AxeBuilderMock.prototype.analyze = vi.fn(() => Promise.resolve(rawFinding))
3031
return {default: AxeBuilderMock}
3132
})
3233

0 commit comments

Comments
 (0)