Skip to content

Commit

Permalink
feat(empty): v14
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-huxiyang committed Nov 18, 2024
1 parent 24a1776 commit 4a7a504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packages/empty/__test__/empty.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ test('should render actions correctly', () => {
actions={[{ text: '操作1' }, { text: '操作2' }]}
/>
)
expect(container.querySelector('.nut-empty-actions')).toBeTruthy()
expect(container.querySelector('.nut-empty-actions-base')).toBeTruthy()
expect(
container.querySelectorAll('.nut-empty-actions .nut-button').length
container.querySelectorAll('.nut-empty-actions-base .nut-button').length
).toEqual(2)
})
test('should render custom image correctly', () => {
Expand Down

0 comments on commit 4a7a504

Please sign in to comment.