Skip to content

Commit 611645e

Browse files
committed
removed lodash types
1 parent c847c89 commit 611645e

3 files changed

Lines changed: 22 additions & 3 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"devDependencies": {
3333
"@types/node": "10.9.1",
3434
"@types/blue-tape": "0.1.32",
35-
"@types/lodash": "4.14.119",
3635
"blue-tape": "1.0.0",
3736
"rimraf": "2.6.2",
3837
"tap-diff": "0.1.1",

src/index.spec.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,29 @@
33
import test = require("blue-tape");
44
import * as path from "path";
55
import { Docker, Options } from "./index";
6+
const { dockerCommand } = require("./index");
67

7-
test("docker-cli-js", (t) => {
8+
test("docker-cli-js dockerCommand", (t) => {
9+
10+
t.test("info", (t) => {
11+
12+
const options = {
13+
currentWorkingDirectory: null, // uses current working directory
14+
echo: true, // echo command output to stdout/stderr
15+
macineName: null, // uses local docker
16+
};
17+
18+
return dockerCommand("info", options).then(function(data) {
19+
//console.log("data", data);
20+
//console.log("data.object", data.object);
21+
t.ok(data);
22+
t.ok(data.object.server_version);
23+
});
24+
25+
});
26+
});
827

28+
test("docker-cli-js", (t) => {
929
t.test("info", (t) => {
1030
const docker = new Docker();
1131

0 commit comments

Comments
 (0)