import  Dispatcher from '../src/Dispatcher';

import * as chai from 'chai';
const expect = chai.expect;

import * as path from 'path';

describe('Dispatcher', function () {
    it('Dispatches to fcat', function (done) {
        Dispatcher
            .dispatch('fcat', ['one', 'two']
                      .map((f) => path.resolve(__dirname + '/fixtures/' + f)))
            .then((results) => expect(results).to.be.deep.equal(['1', '2', '2', '3']))
            .then(() => done())
            .catch(done);
    })
})

import  Dispatcher from '../src/Dispatcher';

import * as chai from 'chai';
const expect = chai.expect;

import * as path from 'path';

describe('Dispatcher', function () {
    it.only('Dispatches to fcat', function (done) {
        Dispatcher
            .dispatch('fcat', ['one', 'two']
                      .map((f) => path.resolve(__dirname + '/fixtures/' + f)))
            .then((results) => expect(results).to.be.deep.equal(['1', '2', '2', '3']))
            .then(() => done())
            .catch(done);
    })
})

--- 
+++ 
@@ -6,7 +6,7 @@
 import * as path from 'path';
 
 describe('Dispatcher', function () {
-    it.only('Dispatches to fcat', function (done) {
+    it('Dispatches to fcat', function (done) {
         Dispatcher
             .dispatch('fcat', ['one', 'two']
                       .map((f) => path.resolve(__dirname + '/fixtures/' + f)))
Remove test narrowing on Dispatcher
