Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
anqaka committed Mar 26, 2021
1 parent 14d3026 commit 0a4f2c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/atoms/button/Button.spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import { mount } from '@vue/test-utils'
import getClass from '../../../utils/helpers/get-class'
import AButton from './Button.vue'

describe('atoms/Button', () => {
it('has default structure', () => {
const wrapper = mount(AButton, {
mixins: [getClass]
})
const wrapper = mount(AButton)

expect(wrapper.element.tagName).toBe('BUTTON')
expect(wrapper.attributes().type).toBeDefined()
Expand Down

0 comments on commit 0a4f2c3

Please sign in to comment.