Ghost
New
flaxo
/
ghost
public
forked from
ghost/ghost
Source code of Ghost - On Ghost
Star
0
Fork
0
Code
Issues
0
Pull requests
0
6e62908
34
branches
Go to file
t
Code
ghost
apps
api
src
services
git
wal
wal.service.spec.ts
it now supports push and pull
50ad2a1
a month ago
18 lines · 442 B
1
import
{
Test
,
TestingModule
}
from
'
@nestjs/testing
'
;
2
import
{
WalService
}
3
4
describe
(
'
WalService
'
,
()
5
let
service
:
6
7
beforeEach
(
async
()
8
const
module
:
9
providers
:
[
WalService
]
,
10
}
)
.
compile
()
;
11
12
service
=
module
.
13
}
)
;
14
15
it
(
'
should be defined
'
,
16
expect
(
service
)
.
toBeDefined
17
}
)
;
18
}
)
;
from
'
./wal.service.js
'
;
=>
{
WalService
;
=>
{
TestingModule
=
await
Test
.
createTestingModule
(
{
get
<
WalService
>
(
WalService
)
;
()
=>
{
()
;