UNPKG
hygen
Version:
latest (6.2.11)
6.2.11
6.2.10
6.2.9
6.2.8
6.2.7
6.2.6
6.2.5
6.2.4
6.2.3
6.2.2
6.2.1
6.2.0
6.1.5
6.1.4
6.1.3
6.1.2
6.1.1
6.1.0
6.0.4
6.0.3
6.0.2
6.0.0
5.0.3
5.0.2
5.0.1
4.0.11
4.0.9
4.0.8
4.0.7
4.0.5
4.0.4
4.0.2
4.0.1
3.0.0
2.1.2
2.1.1
2.1.0
2.0.4
2.0.3
1.6.2
1.6.1
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.29
1.4.28
1.4.27
1.4.26
1.4.25
1.4.24
1.4.23
1.4.22
1.4.21
1.4.20
1.4.19
1.4.17
1.4.16
1.4.15
1.4.14
1.4.12
1.4.11
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.3
1.4.1
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
The scalable code generator that saves you time.
hygen
/
src
/
__tests__
/
context.spec.js
7 lines
(6 loc)
•
186 B
JavaScript
View Raw
1
2
3
4
5
6
7
const
context =
require
(
'../context'
)
describe
(
'context'
,
() =>
{
it
(
'should populate with capitalized keys'
,
() =>
{
expect
(
context
({
name
:
'foobar'
})).
toMatchSnapshot
() }) })