Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/browser/__tests__/adapters/test-utils
createMockAdapter
Function createMockAdapter
createMockAdapter
(
overrides
?:
{}
,
)
:
{
favoriteType
:
string
;
getGroupValue
:
Mock
<
()
=>
string
>
;
getSearchableText
:
Mock
<
(
item
:
any
)
=>
any
[]
>
;
getSortValue
:
Mock
<
(
item
:
any
,
_sortBy
:
any
)
=>
any
>
;
matchesFilter
:
Mock
<
()
=>
boolean
>
;
PreviewComponent
:
Mock
<
()
=>
any
>
;
useData
:
Mock
<
()
=>
{
error
:
any
;
isLoading
:
boolean
;
items
:
any
[]
}
>
;
}
Parameters
overrides
:
{}
= {}
Returns
{
favoriteType
:
string
;
getGroupValue
:
Mock
<
()
=>
string
>
;
getSearchableText
:
Mock
<
(
item
:
any
)
=>
any
[]
>
;
getSortValue
:
Mock
<
(
item
:
any
,
_sortBy
:
any
)
=>
any
>
;
matchesFilter
:
Mock
<
()
=>
boolean
>
;
PreviewComponent
:
Mock
<
()
=>
any
>
;
useData
:
Mock
<
()
=>
{
error
:
any
;
isLoading
:
boolean
;
items
:
any
[]
}
>
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Timeline Studio API Documentation - v0.26.0
Loading...