fix(suite-native): fix useBottomSheetControls.test.ts test names

This commit is contained in:
Jirka Bažant
2026-02-16 10:12:01 +01:00
committed by vytick
parent d038f1c689
commit bf2bc01468

View File

@@ -28,7 +28,7 @@ describe('useBottomSheetControls', () => {
expect(result.current.isSheetVisible).toBe(true);
});
it('should be false after hideTradeableAssetsSheet call and Keyboard.dismiss should be called two times by default', () => {
it('should be false after hideSheet call and Keyboard.dismiss should be called two times by default', () => {
const { result } = renderHookWithBasicProvider(() => useBottomSheetControls());
const keyboardDismissSpy = jest.spyOn(Keyboard, 'dismiss');
@@ -41,7 +41,7 @@ describe('useBottomSheetControls', () => {
expect(result.current.isSheetVisible).toBe(false);
});
it('should be false after hideTradeableAssetsSheet call with shouldHideKeyboard=true and Keyboard.dismiss should be called two times', () => {
it('should be false after hideSheet call with shouldHideKeyboard=true and Keyboard.dismiss should be called two times', () => {
const { result } = renderHookWithBasicProvider(() => useBottomSheetControls());
const keyboardDismissSpy = jest.spyOn(Keyboard, 'dismiss');
@@ -54,7 +54,7 @@ describe('useBottomSheetControls', () => {
expect(result.current.isSheetVisible).toBe(false);
});
it('should be false after hideTradeableAssetsSheet call with shouldHideKeyboard=false and Keyboard.dismiss should be called only once', () => {
it('should be false after hideSheet call with shouldHideKeyboard=false and Keyboard.dismiss should be called only once', () => {
const { result } = renderHookWithBasicProvider(() => useBottomSheetControls());
const keyboardDismissSpy = jest.spyOn(Keyboard, 'dismiss');