Skip to content

Commit

Permalink
fix: remove duplicate test case code
Browse files Browse the repository at this point in the history
See more: #423
  • Loading branch information
qiqingfu committed Nov 27, 2020
1 parent a0886c8 commit e84ecb3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/button/tests/Button.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@ describe('Button.vue', () => {
expect(wrapper.classes()).toContain(`is-loading`)
})

it('set button loading by prop loading', async () => {
const wrapper = mount(Button, {
props: {
loading: true
}
})

expect(wrapper.classes()).toContain(`is-loading`)
})

describe('set button disabled', () => {
it('by props.disabled', () => {
const wrapper = mount(Button, {
Expand Down

0 comments on commit e84ecb3

Please sign in to comment.