1 | /**
|
2 | * Testing requires
|
3 | */
|
4 | var should = require('should')
|
5 | , stream = require('./util').testStream;
|
6 |
|
7 | /**
|
8 | * Units under test
|
9 | */
|
10 | var Connection = require('../connection');
|
11 |
|
12 |
|
13 | describe('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 | });
|