test: update tests and snapshots
This commit is contained in:
@@ -11,7 +11,7 @@ Vue.use(CoreuiVue)
|
||||
|
||||
describe('BrandButtons.vue', () => {
|
||||
it('has a name', () => {
|
||||
expect(BrandButtons.name).toMatch('brand-buttons')
|
||||
expect(BrandButtons.name).toBe('BrandButtons')
|
||||
})
|
||||
it('is Vue instance', () => {
|
||||
const wrapper = shallowMount(BrandButtons)
|
||||
|
||||
@@ -7,7 +7,7 @@ Vue.use(CoreuiVue)
|
||||
|
||||
describe('Dropdowns.vue', () => {
|
||||
it('has a name', () => {
|
||||
expect(Dropdowns.name).toMatch('Dropdowns')
|
||||
expect(Dropdowns.name).toBe('Dropdowns')
|
||||
})
|
||||
it('is Vue instance', () => {
|
||||
const wrapper = shallowMount(Dropdowns)
|
||||
|
||||
@@ -8,7 +8,7 @@ Vue.use(CoreuiVue)
|
||||
describe('ButtonGroups.vue', () => {
|
||||
const wrapper = shallowMount(ButtonGroups)
|
||||
it('has a name', () => {
|
||||
expect(ButtonGroups.name).toMatch('button-groups')
|
||||
expect(ButtonGroups.name).toBe('ButtonGroups')
|
||||
})
|
||||
it('is Vue instance', () => {
|
||||
expect(wrapper.isVueInstance()).toBe(true)
|
||||
|
||||
@@ -7,7 +7,7 @@ Vue.use(CoreuiVue)
|
||||
|
||||
describe('StandardButtons.vue', () => {
|
||||
it('has a name', () => {
|
||||
expect(StandardButtons.name).toMatch('standard-buttons')
|
||||
expect(StandardButtons.name).toBe('StandardButtons')
|
||||
})
|
||||
it('has a created hook', () => {
|
||||
expect(typeof StandardButtons.data).toMatch('function')
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user