Remove files created during LOB tests

This commit is contained in:
Christopher Jones 2016-03-24 17:15:35 +11:00
parent 61d68173fb
commit 94a5605cb5
2 changed files with 14 additions and 2 deletions

View File

@ -36,7 +36,7 @@
* 51 onwards are for other tests
*
*****************************************************************************/
"use strict"
'use strict';
var oracledb = require('oracledb');
var fs = require('fs');
@ -222,6 +222,12 @@ describe('41. dataTypeBlob', function() {
}
);
},
function deleteOutFile(callback) {
fs.unlink(outFileName, function(err) {
should.not.exist(err);
callback();
});
}
], done);
}) // 41.1.1

View File

@ -37,7 +37,7 @@
* 51 onwards are for other tests
*
*****************************************************************************/
"use strict";
'use strict';
var oracledb = require('oracledb');
var fs = require('fs');
@ -257,6 +257,12 @@ describe('40. dataTypeClob.js', function() {
});
}
);
},
function deleteOutFile(callback) {
fs.unlink(outFileName, function(err) {
should.not.exist(err);
callback();
});
}
], done); // async