From 28fa5349d76c2322159fefd5e6a1c93591c5c4c6 Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Sun, 31 Jul 2016 22:47:22 +0200 Subject: [PATCH] cosmetic fix --- test/test.ts | 26 +++++++++++++------------- ts/index.ts | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/test/test.ts b/test/test.ts index 71e6824..abd9048 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1,44 +1,44 @@ import "typings-test"; import "should"; -import {Dockersock} from "../dist/index" +import { Dockersock } from "../dist/index"; -describe("dockersock",function(){ - describe(".Dockersock()",function(){ - let testDockersock:Dockersock; - it("should create a new Dockersock instance",function(){ +describe("dockersock", function () { + describe(".Dockersock()", function () { + let testDockersock: Dockersock; + it("should create a new Dockersock instance", function () { testDockersock = new Dockersock(); testDockersock.should.be.instanceof(Dockersock); }); - it("should list containers",function(done){ + it("should list containers", function (done) { testDockersock.listContainers() - .then((dataArg)=>{ + .then((dataArg) => { console.log(dataArg); done(); }); }); - it("should list detailed containers",function(done){ + it("should list detailed containers", function (done) { this.timeout(5000); testDockersock.listContainersDetailed() - .then((dataArg)=>{ + .then((dataArg) => { console.log(dataArg); done(); }); }); - it("should pull an image from imagetag",function(done){ + it("should pull an image from imagetag", function (done) { this.timeout(60000); testDockersock.pullImage("hosttoday/ht-docker-dbase") - .then((dataArg)=>{ + .then((dataArg) => { done(); }); }); - it("should return a change Objservable",function(done){ + it("should return a change Objservable", function (done) { this.timeout(10000); testDockersock.getChangeObservable(); setTimeout(() => { testDockersock.endRequests(); done(); - },5000); + }, 5000); }) }); }); \ No newline at end of file diff --git a/ts/index.ts b/ts/index.ts index 6804ade..1f09182 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,2 +1,2 @@ import "typings-global"; -export {Dockersock} from "./dockersock.classes.dockersock"; +export { Dockersock } from "./dockersock.classes.dockersock";