UNPKG
grenache-nodejs-link
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
0.7.13
0.7.12
0.7.11
0.7.10
0.7.9
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.6.0
0.5.0
Granache Node.js Link
github.com/bitfinexcom/grenache-nodejs-link
bitfinexcom/grenache-nodejs-link
grenache-nodejs-link
/
test
/
chaining.js
17 lines
(12 loc)
•
296 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* eslint-env mocha */
'use strict'
const
assert =
require
(
'assert'
)
const
Link
=
require
(
'../'
)
describe
(
'chaining'
,
() =>
{
it
(
'start/stop chains'
,
() =>
{
const
link =
new
Link
({
grape
:
'http://127.0.0.1:30001'
}).
start
().
stop
() assert.
ok
(link
instanceof
Link
) }) })