Skip to content

Commit

Permalink
removed lodash types
Browse files Browse the repository at this point in the history
  • Loading branch information
mattqs committed Feb 6, 2020
1 parent c847c89 commit 611645e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"devDependencies": {
"@types/node": "10.9.1",
"@types/blue-tape": "0.1.32",
"@types/lodash": "4.14.119",
"blue-tape": "1.0.0",
"rimraf": "2.6.2",
"tap-diff": "0.1.1",
Expand Down
22 changes: 21 additions & 1 deletion src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,29 @@
import test = require("blue-tape");
import * as path from "path";
import { Docker, Options } from "./index";
const { dockerCommand } = require("./index");

test("docker-cli-js", (t) => {
test("docker-cli-js dockerCommand", (t) => {

t.test("info", (t) => {

const options = {
currentWorkingDirectory: null, // uses current working directory
echo: true, // echo command output to stdout/stderr
macineName: null, // uses local docker
};

return dockerCommand("info", options).then(function(data) {
//console.log("data", data);
//console.log("data.object", data.object);
t.ok(data);
t.ok(data.object.server_version);
});

});
});

test("docker-cli-js", (t) => {
t.test("info", (t) => {
const docker = new Docker();

Expand Down

0 comments on commit 611645e

Please sign in to comment.