test: update tests and snapshots
This commit is contained in:
@@ -11,7 +11,7 @@ localVue.use(CoreuiVue)
|
||||
|
||||
describe('User.vue', () => {
|
||||
it('has a name', () => {
|
||||
expect(User.name).toMatch('User')
|
||||
expect(User.name).toBe('User')
|
||||
})
|
||||
it('is Vue instance', () => {
|
||||
const wrapper = shallowMount(User, {
|
||||
|
||||
@@ -11,7 +11,7 @@ localVue.use(CoreuiVue)
|
||||
|
||||
describe('Users.vue', () => {
|
||||
it('has a name', () => {
|
||||
expect(Users.name).toMatch('Users')
|
||||
expect(Users.name).toBe('Users')
|
||||
})
|
||||
it('has a created hook', () => {
|
||||
expect(typeof Users.data).toMatch('function')
|
||||
|
||||
@@ -40,9 +40,9 @@ exports[`User.vue renders correctly 1`] = `
|
||||
titletag="h4"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="c-active"
|
||||
activeclass="active"
|
||||
event="click"
|
||||
exactactiveclass="c-active"
|
||||
exactactiveclass="active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user