diff options
author | Valentin Popov <info@valentineus.link> | 2017-10-06 23:00:26 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-10-06 23:00:26 +0300 |
commit | 06036220547c28283a1162b2259efcba9ffa377f (patch) | |
tree | 6e63810971993a01b0595cc0977ebd47faca7867 /src/tests | |
parent | ddb3305b4ca659c240a633626a3f6cf8aa6aaf73 (diff) | |
download | simple-container-06036220547c28283a1162b2259efcba9ffa377f.tar.xz simple-container-06036220547c28283a1162b2259efcba9ffa377f.zip |
A simple test for testing
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/index.js | 15 |
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 |