no_cleanup_on_exit.js 259 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 var temp = require('temp').track(); describe('temp will create dir that will remain after the process exits', function() { it('creates a dir', function() { var p = temp.mkdirSync("shouldBeDeletedOnExit"); console.log('created dir ' + p); }); });