UNPKG
wechaty-grpc
Version:
latest (1.0.1)
next (1.5.2)
1.5.2
1.3.0
1.1.1
1.0.1
1.0.0
0.33.6
0.33.4
0.33.3
0.33.1
0.31.13
0.31.12
0.31.11
0.31.10
0.31.5
0.31.3
0.31.2
0.31.1
0.29.50
0.29.49
0.29.48
0.29.47
0.29.46
0.29.38
0.29.37
0.29.36
0.29.35
0.29.33
0.29.32
0.29.22
0.29.21
0.29.19
0.27.12
0.27.10
0.27.9
0.27.8
0.27.7
0.27.6
0.25.1
0.23.14
0.23.13
0.23.12
0.23.11
0.23.10
0.23.9
0.23.5
0.21.2
0.21.1
0.20.19
0.20.18
0.20.17
0.20.16
0.20.15
0.20.14
0.20.13
0.20.12
0.20.11
0.20.9
0.20.8
0.20.7
0.20.5
0.20.4
0.20.1
gRPC for Wechaty
github.com/wechaty/grpc
wechaty/grpc
wechaty-grpc
/
dist
/
esm
/
commonjs
/
code-root.spec.ts
10 lines
(6 loc)
•
212 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env -S ts-node --project tsconfig.cjs.json
import
{ test }
from
'tstest'
import
{ codeRoot }
from
'./code-root.cjs'
test
(
'CJS: codeRoot()'
,
async
t => { t.
ok
(codeRoot,
'should exist codeRoot'
) })