Commit 935911c7 authored by Alper Akgun's avatar Alper Akgun

Fix form clearing for company size

parent 6f05c324
......@@ -151,7 +151,7 @@ export default {
this.firstName = '';
this.lastName = '';
this.companyName = '';
this.companySize = '';
this.companySize = null;
this.phoneNumber = '';
this.country = null;
this.state = null;
......
......@@ -150,6 +150,11 @@ describe('HandRaiseLeadButton', () => {
comment: 'comment',
...formData,
});
['firstName', 'lastName', 'companyName', 'phoneNumber'].forEach((f) =>
expect(wrapper.vm[f]).toBe(''),
);
['companySize', 'country', 'state'].forEach((f) => expect(wrapper.vm[f]).toBe(null));
});
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment