UNPKG
@rawmodel/validator
Version:
latest (3.0.0-alpha0)
3.0.0-alpha0
2.4.0
2.3.0
2.2.1
2.2.0
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.0
Property value validator for RawModel.
github.com/rawmodel/framework
rawmodel/framework
@rawmodel/validator
/
src
/
tests
/
index.test.ts
11 lines
(7 loc)
•
195 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
Spec
}
from
'@hayspec/spec'
;
import
*
as
validator
from
'..'
;
const
spec =
new
Spec
(); spec.
test
(
'exposed content'
,
(
t
) =>
{ t.
true
(!!validator.
Validator
); });
export
default
spec;