(
type: Exclude<Props['mode'], undefined>,
maxFontSizeMultiplier?: Props['maxFontSizeMultiplier']
)
| 484 | |
| 485 | describe('maxFontSizeMultiplier', () => { |
| 486 | const createInput = ( |
| 487 | type: Exclude<Props['mode'], undefined>, |
| 488 | maxFontSizeMultiplier?: Props['maxFontSizeMultiplier'] |
| 489 | ) => { |
| 490 | return ( |
| 491 | <TextInput mode={type} maxFontSizeMultiplier={maxFontSizeMultiplier} /> |
| 492 | ); |
| 493 | }; |
| 494 | |
| 495 | it('should have default value in flat input', () => { |
| 496 | const { getByTestId } = render(createInput('flat')); |
no outgoing calls
no test coverage detected
searching dependent graphs…