UNPKG
@rawmodel/schema
Version:
latest (3.3.4)
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.1
3.2.0
3.1.0
3.0.0
3.0.0-alpha9
3.0.0-alpha8
3.0.0-alpha7
3.0.0-alpha6
3.0.0-alpha5
3.0.0-alpha4
3.0.0-alpha3
3.0.0-alpha1
JSON Schema utils for RawModel.
github.com/rawmodel/framework
rawmodel/framework
@rawmodel/schema
/
src
/
tests
/
index.test.ts
11 lines
(7 loc)
•
204 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
Spec
}
from
'@hayspec/spec'
;
import
*
as
rawmodel
from
'..'
;
const
spec =
new
Spec
(); spec.
test
(
'exposed content'
,
(
ctx
) =>
{ ctx.
true
(!!rawmodel.
createModelClass
); });
export
default
spec;