Skip to content

Commit 42f4944

Browse files
committed
fix test
1 parent 3881166 commit 42f4944

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/v2/components/loginButton/LoginButton.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ describe('SolidUILoginButton', () => {
1717
writable: true,
1818
value: jest.fn()
1919
})
20+
HTMLDialogElement.prototype.showModal = jest.fn()
21+
HTMLDialogElement.prototype.close = jest.fn()
2022
localStorage.clear()
2123
})
2224

0 commit comments

Comments
 (0)