Created
October 25, 2023 12:48
-
-
Save ThaddeusJiang/811e90ed274c87ca7192f45d783a3712 to your computer and use it in GitHub Desktop.
mock antd useBreakpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jest.mock('antd/lib/grid/hooks/useBreakpoint', () => () => ({ | |
xs: false, | |
sm: true, | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment