-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03e7888
commit 578f3c6
Showing
2 changed files
with
93 additions
and
52 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/components/page-filters/__fixtures__/page-filters.fixtures.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import type { PageQueryParams } from '@/hooks/use-page-query-params/use-page-query-params.types'; | ||
|
||
export const defaultParamA = 'valueA1'; | ||
export const defaultParamB = 'valueB1'; | ||
export const mockPageQueryParamConfig: PageQueryParams = [ | ||
{ key: 'search' }, | ||
{ key: 'paramA', defaultValue: defaultParamA }, | ||
{ key: 'paramB', defaultValue: defaultParamB }, | ||
]; | ||
export const mockQueryParamsValues = { | ||
search: '', | ||
paramA: defaultParamA, | ||
paramB: defaultParamB, | ||
}; |
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