-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update v-calendar to a @vue/compat compatible fork ...
Includes: - nathanreyes/v-calendar#1228 - nathanreyes/v-calendar#1149
- Loading branch information
1 parent
35afef5
commit b779927
Showing
5 changed files
with
53 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,7 +143,6 @@ | |
"patchedDependencies": { | ||
"@adobe/[email protected]": "patches/@[email protected]", | ||
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
packages/design-system/src/components/OcDatepicker/OcDatepicker.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import { shallowMount } from 'web-test-helpers' | ||
|
||
import Datepicker from './OcDatepicker.vue' | ||
|
||
const slotDefault = "<button id='default-slot'>Open datepicker</button>" | ||
import { mount } from 'web-test-helpers' | ||
|
||
describe('OcDatePicker', () => { | ||
it('renders default scoped slot', () => { | ||
const wrapper = shallowMount(Datepicker, { | ||
const slotDefault = "<button id='default-slot'>Open datepicker</button>" | ||
const wrapper = mount(Datepicker, { | ||
slots: { default: slotDefault }, | ||
props: { value: null } | ||
props: { value: null }, | ||
global: { | ||
renderStubDefaultSlot: true | ||
} | ||
}) | ||
|
||
expect(wrapper.find('#default-slot').exists()).toBeTruthy() | ||
}) | ||
}) |
17 changes: 12 additions & 5 deletions
17
packages/design-system/src/components/OcDatepicker/OcDatepicker.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.