UNPKG
@hayspec/cli
Version:
latest (0.10.2)
0.10.2
0.10.1
0.10.0
0.9.0
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.6
0.7.4
0.7.2
0.7.1
0.7.0
0.6.2
0.6.1
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.21
0.4.20
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.2.7
0.2.6
0.2.1
0.1.0-alpha1
0.0.2
0.0.1
CLI for Hayspec framework.
github.com/hayspec/framework
hayspec/framework
@hayspec/cli
/
src
/
tests
/
assets
/
invalid.hay.ts
15 lines
(10 loc)
•
240 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { Spec }
from
'@hayspec/spec'
;
const
spec =
new
Spec(); spec.test(
'foo'
,
async
(context) => { context.
true
(
true
); }); spec.test(
'bar'
,
async
(context) => { context.
true
(
false
); context.
false
(
true
); }); export
default
spec;