2017-02-12 12:13:08 +00:00
|
|
|
import 'typings-test'
|
|
|
|
import { expect } from 'smartchai'
|
|
|
|
|
2017-03-08 15:51:02 +00:00
|
|
|
import * as smartshell from '../dist/index'
|
|
|
|
|
2017-02-12 12:13:08 +00:00
|
|
|
describe('smartshell', function() {
|
2017-03-08 15:51:02 +00:00
|
|
|
it('it should run async', function() {
|
|
|
|
this.timeout(1000000)
|
|
|
|
return smartshell.exec('npmdocker speedtest').then((execResult) => {
|
|
|
|
console.log(execResult.stdout)
|
|
|
|
})
|
|
|
|
})
|
2017-02-12 12:13:08 +00:00
|
|
|
})
|