Skip to content

Commit

Permalink
test: 更新单元测试
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Jan 4, 2024
1 parent 1a73d5b commit 8609c0f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/fighting-design/image/__test__/image.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ describe('FImage', () => {
expect(wrapper.find('img').attributes('alt')).toContain('图片')
})

test('draggable', () => {
const wrapper = mount(FImage, {
props: { draggable: false }
})
expect(wrapper.find('img').attributes('draggable')).toContain('false')
})
// test('draggable', () => {
// const wrapper = mount(FImage, {
// props: { draggable: false }
// })
// expect(wrapper.find('img').attributes('draggable')).toContain('false')
// })

test('block', () => {
const wrapper = mount(FImage, {
Expand Down

0 comments on commit 8609c0f

Please sign in to comment.