Skip to content

Commit bea1635

Browse files
committed
fix eslint
1 parent c63a640 commit bea1635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sdk.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ it('should call sendForm and throw non-form element error', () => {
6666
});
6767

6868
it('should call sendForm with id selector', async () => {
69-
let form: HTMLFormElement = document.createElement('form');
69+
const form: HTMLFormElement = document.createElement('form');
7070
form.id = 'form-id';
7171
document.body.appendChild(form);
7272

@@ -84,7 +84,7 @@ it('should call sendForm with id selector', async () => {
8484
});
8585

8686
it('should call sendForm with form element', async () => {
87-
let form: HTMLFormElement = document.createElement('form');
87+
const form: HTMLFormElement = document.createElement('form');
8888

8989
try {
9090
const result = await emailjs.sendForm(

0 commit comments

Comments
 (0)