UNPKG

467 BJavaScriptView Raw
1/**
2 * Testing requires
3 */
4var should = require('should')
5 , stream = require('./util').testStream;
6
7/**
8 * Units under test
9 */
10var Connection = require('../connection');
11
12
13describe('Connection', function() {
14
15 beforeEach(function () {
16 var that = this;
17 this.stream = stream();
18 this.conn = new Connection(this.stream);
19 });
20
21 describe('parsing', require('./connection.parse.js'));
22 describe('transmission', require('./connection.transmit.js'));
23});