changes made as requested
This commit is contained in:
parent
7cdef6d963
commit
34e5580a66
|
@ -6,7 +6,7 @@ describe('fs.unlink', function() {
|
||||||
afterEach(util.cleanup);
|
afterEach(util.cleanup);
|
||||||
|
|
||||||
it('should be a function', function() {
|
it('should be a function', function() {
|
||||||
let fs = util.fs();
|
const fs = util.fs();
|
||||||
expect(fs.unlink).to.be.a('function');
|
expect(fs.unlink).to.be.a('function');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ describe('fs.promises.unlink', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return an error if trying to delete a file that does not exist', function() {
|
it('should return an error if trying to delete a file that does not exist', function() {
|
||||||
let fsPromises = util.fs().promises;
|
const fsPromises = util.fs().promises;
|
||||||
|
|
||||||
return fsPromises.unlink('/myFile')
|
return fsPromises.unlink('/myFile')
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
|
|
Loading…
Reference in New Issue