Commit b1186965 authored by Eulyeon Ko's avatar Eulyeon Ko

Apply reviewer suggestions

parent a8e8f502
......@@ -240,10 +240,8 @@ describe('Iteration Form', () => {
await waitForPromises();
// There is no good way to test these from the UI output
// as we can't reliably set arbitrary timezone.
expect(wrapper.vm.startDate.getTimezoneOffset()).toBe(0);
expect(wrapper.vm.dueDate.getTimezoneOffset()).toBe(0);
expect(findStartDate().props('value').getTimezoneOffset()).toBe(0);
expect(findDueDate().props('value').getTimezoneOffset()).toBe(0);
});
it('prefills form fields', async () => {
......
......@@ -172,10 +172,8 @@ describe('Iteration Form', () => {
props: propsWithIteration,
});
// There is no good way to test these from the UI output
// as we can't reliably set arbitrary timezone.
expect(wrapper.vm.startDate.getTimezoneOffset()).toBe(0);
expect(wrapper.vm.dueDate.getTimezoneOffset()).toBe(0);
expect(findStartDate().props('value').getTimezoneOffset()).toBe(0);
expect(findDueDate().props('value').getTimezoneOffset()).toBe(0);
});
it('prefills form fields', () => {
......
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