Skip to content

Commit

Permalink
✅ test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Dec 8, 2023
1 parent f7c45e2 commit a6bbd39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/functions/createStyles.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ describe('createStyles', () => {
const { container } = render(<App />);

expect(container.firstChild).toMatchSnapshot();
expect(container.firstChild).toHaveStyle({ backgroundColor: '#fff' });
});

it('可以获取 prefixCls 与 iconPrefixCls', () => {
Expand Down

0 comments on commit a6bbd39

Please sign in to comment.