FIX write test
This commit is contained in:
parent
5011b97d5e
commit
742956b3a7
@ -88,14 +88,6 @@ describe('Util', () => {
|
|||||||
.catch(err => assert(err === null));
|
.catch(err => assert(err === null));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
describe('negative', () => {
|
|
||||||
it('should reject promise and return error if file does not exist', () => {
|
|
||||||
const p = 'asdasdasd';
|
|
||||||
Util.writeFile(p, 'any content')
|
|
||||||
.then()
|
|
||||||
.catch(err => assert(err != null));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
describe('#execBash', () => {
|
describe('#execBash', () => {
|
||||||
it('should return a promise', () => {
|
it('should return a promise', () => {
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
alskldjaksldjaklsjdla0.27231391029056606
|
alskldjaksldjaklsjdla0.8618659579531889
|
||||||
Loading…
x
Reference in New Issue
Block a user