aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-06 23:00:26 +0300
committerValentin Popov <info@valentineus.link>2017-10-06 23:00:26 +0300
commit06036220547c28283a1162b2259efcba9ffa377f (patch)
tree6e63810971993a01b0595cc0977ebd47faca7867 /src
parentddb3305b4ca659c240a633626a3f6cf8aa6aaf73 (diff)
downloadsimple-container-06036220547c28283a1162b2259efcba9ffa377f.tar.xz
simple-container-06036220547c28283a1162b2259efcba9ffa377f.zip
A simple test for testing
Diffstat (limited to 'src')
-rw-r--r--src/tests/index.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/tests/index.js b/src/tests/index.js
index 47b7f79..7a85db3 100644
--- a/src/tests/index.js
+++ b/src/tests/index.js
@@ -1,3 +1,16 @@
+import { assert } from 'chai';
+
+import Containers from '../lib/index';
+
describe('simple-container:', () => {
- it('test()', () => {});
+ it('simple', (done) => {
+ var containers = new Containers();
+ var image = 'hello-world:latest';
+
+ containers.create(image).then(container => {
+ if (container) {
+ done();
+ }
+ });
+ });
}); \ No newline at end of file