X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=node_modules%2Ftemp%2Fno_cleanup_on_exit.spec.js;fp=node_modules%2Ftemp%2Fno_cleanup_on_exit.spec.js;h=13ae28a6a25da55c3baffe5ec779426fd1f8ff9b;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/node_modules/temp/no_cleanup_on_exit.spec.js b/node_modules/temp/no_cleanup_on_exit.spec.js new file mode 100644 index 000000000..13ae28a6a --- /dev/null +++ b/node_modules/temp/no_cleanup_on_exit.spec.js @@ -0,0 +1,11 @@ +var temp = require('temp'); +temp.track(); + +console.log('Doing something'); + +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); + }); +});