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:
dleung25 2018-10-09 13:27:22 -04:00 committed by David Humphrey
parent 7e27c8be2c
commit 02bd6d8a62
1 changed files with 11 additions and 0 deletions

View File

@ -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');
});
});