Issue#518 fix: Add test for fsPromises.unlink() should be a function (#526)
* issue518 fix * changed back to original package.json * add newline to end of file
This commit is contained in:
parent
7e27c8be2c
commit
02bd6d8a62
|
@ -104,3 +104,14 @@ describe('fs.unlink', function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
describe('fs.promises.unlink', function () {
|
||||||
|
beforeEach(util.setup);
|
||||||
|
afterEach(util.cleanup);
|
||||||
|
|
||||||
|
it('should be a function', function () {
|
||||||
|
var fs = util.fs();
|
||||||
|
expect(fs.promises.unlink).to.be.a('function');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue