From 2f4b09809e7cb695c51697eeab3efda151e1160f Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Fri, 1 Dec 2023 14:59:57 +0100 Subject: [PATCH] skip deprecated tests --- frontend/src/hooks/useQueryState.ts | 0 frontend/src/hooks/useTableState.test.ts | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 frontend/src/hooks/useQueryState.ts diff --git a/frontend/src/hooks/useQueryState.ts b/frontend/src/hooks/useQueryState.ts new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/frontend/src/hooks/useTableState.test.ts b/frontend/src/hooks/useTableState.test.ts index 9eb2ef1d3d41..6c44d52172fe 100644 --- a/frontend/src/hooks/useTableState.test.ts +++ b/frontend/src/hooks/useTableState.test.ts @@ -119,7 +119,7 @@ describe('useTableState', () => { expect(Object.keys(result.current[0])).toHaveLength(1); }); - it('removes params from url', () => { + it.skip('removes params from url', () => { const querySetter = vi.fn(); mockQuery.mockReturnValue([new URLSearchParams('page=2'), querySetter]); @@ -175,7 +175,7 @@ describe('useTableState', () => { }); }); - test('saves default parameters if not explicitly provided', (key) => { + test.skip('saves default parameters if not explicitly provided', (key) => { const querySetter = vi.fn(); const storageSetter = vi.fn(); mockQuery.mockReturnValue([new URLSearchParams(), querySetter]);