Skip to content

Commit

Permalink
test: 更新单元测试
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Mar 21, 2023
1 parent fc1d3d6 commit 85e345e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ describe('RadioGroup', () => {
expect(wrapper.classes()).toContain('f-radio-group__vertical')
})

test('border', () => {
test('background', () => {
const wrapper = mount(FRadioGroup, {
props: { border: true }
props: { background: true }
})
expect(wrapper.classes()).toContain('f-radio-group__border')
expect(wrapper.classes()).toContain('f-radio-group__background')
})

test('slot', () => {
Expand Down

0 comments on commit 85e345e

Please sign in to comment.