start integration of Smartshell class

This commit is contained in:
2017-03-08 16:51:02 +01:00
parent 26ed390ba6
commit 10cef8bfa6
12 changed files with 317 additions and 33 deletions

1
test/test.d.ts vendored Normal file
View File

@ -0,0 +1 @@
import 'typings-test';

13
test/test.js Normal file
View File

@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("typings-test");
const smartshell = require("../dist/index");
describe('smartshell', function () {
it('it should run async', function () {
this.timeout(1000000);
return smartshell.exec('npmdocker speedtest').then((execResult) => {
console.log(execResult.stdout);
});
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3QkFBcUI7QUFHckIsNENBQTJDO0FBRTNDLFFBQVEsQ0FBQyxZQUFZLEVBQUU7SUFDbkIsRUFBRSxDQUFDLHFCQUFxQixFQUFFO1FBQ3RCLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUE7UUFDckIsTUFBTSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMscUJBQXFCLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxVQUFVO1lBQzFELE9BQU8sQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQyxDQUFBO1FBQ2xDLENBQUMsQ0FBQyxDQUFBO0lBQ04sQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUMsQ0FBQSJ9

View File

@ -1,6 +1,13 @@
import 'typings-test'
import { expect } from 'smartchai'
import * as smartshell from '../dist/index'
describe('smartshell', function() {
it('it should run async', function() {
this.timeout(1000000)
return smartshell.exec('npmdocker speedtest').then((execResult) => {
console.log(execResult.stdout)
})
})
})