UNPKG
@elastic-suite/gally-admin-shared
Version:
1-0-x (1.0.0)
2-2-x (2.2.0)
canary (2.3.0-alpha-1)
latest (2.3.0)
main (2.2.0)
2.3.0
2.3.0-alpha-1
2.2.2-alpha.0
2.2.1
2.2.0
2.1.0
2.1.0-alpha.1
2.1.0-alpha.0
2.0.1-alpha.0
2.0.0
2.0.0-alpha.0
1.3.1
1.3.0
1.3.0-alpha.1
1.3.0-alpha.0
1.2.0
1.2.0-alpha.8
1.2.0-alpha.7
1.2.0-alpha.2
1.2.0-alpha.1
1.2.0-alpha.0
1.1.0
1.1.0-alpha.1
1.1.0-alpha.0
1.0.2
1.0.1
1.0.1-alpha.0
1.0.0
0.2.0
Shared package for gally admin BO
github.com/Elastic-Suite/gally-admin
Elastic-Suite/gally-admin
@elastic-suite/gally-admin-shared
/
src
/
services
/
hoc.test.ts
13 lines
(11 loc)
•
294 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{ getDisplayName }
from
'./hoc'
describe
(
'HOC service'
,
() =>
{
describe
(
'getDisplayName'
,
() =>
{
it
(
'Should return the component name'
,
() =>
{
function
MyCmp
(
):
JSX
.
Element
{
return
null
}
expect
(
getDisplayName
(
MyCmp
)).
toEqual
(
'MyCmp'
) }) }) })