UNPKG
tooty
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
Simple agnostic message router for node
github.com/filp/tooty
filp/tooty
tooty
/
test
/
tooty
/
tooty_test.js
14 lines
(10 loc)
•
263 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
assert
from
"assert"
;
import
tooty
from
"../../lib/tooty"
;
describe
(
"tooty"
,
() =>
{
describe
(
"#build"
,
() =>
{
var
router = tooty.
build
(
() =>
{});
it
(
"returns a router"
,
() =>
{
assert
(router
instanceof
tooty.
Router
); }); }); });