UNPKG
easily-expect
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
You can easily use expect
github.com/KSH-code/easily-expect
KSH-code/easily-expect
easily-expect
/
test
/
checkEmpty.test.js
10 lines
(8 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
/* global describe, it */
'use strict'
const
{ checkEmpty } =
require
(
'../index'
)
describe
(
'Check empty value'
,
() =>
{
it
(
'1. simple test'
,
() =>
{
checkEmpty
(
''
, [], {},
new
Set
(),
new
Map
()) }) })