test: update tests and snapshots

This commit is contained in:
woothu
2019-09-23 14:53:04 +02:00
parent e31a6c7542
commit 1143880608
82 changed files with 11751 additions and 12325 deletions
@@ -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