diff options
author | Devlin Junker <devlin.junker@gmail.com> | 2022-10-02 20:43:11 -0700 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2022-11-02 11:27:20 +0100 |
commit | a81cd40b00c8a004d844bed7fb697baf65b3d7e0 (patch) | |
tree | 88c254610dc14837cc9506a27a8916166fe85b37 /tests/javascript | |
parent | 08d12e500952dfca9730f6b4ab0255f3805f6452 (diff) |
clean up linting errors
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
Diffstat (limited to 'tests/javascript')
-rw-r--r-- | tests/javascript/unit/components/Sidebar.spec.ts | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/tests/javascript/unit/components/Sidebar.spec.ts b/tests/javascript/unit/components/Sidebar.spec.ts index d5a381479..73a70f728 100644 --- a/tests/javascript/unit/components/Sidebar.spec.ts +++ b/tests/javascript/unit/components/Sidebar.spec.ts @@ -28,17 +28,9 @@ import { shallowMount } from '@vue/test-utils' describe('Sidebar.vue', () => { 'use strict' - // We set the route before mounting AppSidebar to prevent messages that the task was not found - // Could be adjusted with future tests - // router.push({ name: 'calendarsTask', params: { calendarId: 'calendar-1', taskId: 'pwen4kz18g.ics' } }) - - it('Returns the correct value for the new dates', () => { + it('should initialize without showing AddFeed Component', () => { const wrapper = shallowMount(AppSidebar, { localVue, store }) - // eslint-disable-next-line no-console - console.log(wrapper.vm) - // let actual = wrapper.vm.newStartDate - // let expected = new Date('2019-01-01T12:00:00') - // expect(actual.getTime()).toBe(expected.getTime() - }) + expect(wrapper.vm.$data.showAddFeed).toBeFalsy + }); }) |