How to use the setGracefulCleanup function from tmp
Find comprehensive JavaScript tmp.setGracefulCleanup code examples handpicked from public code repositorys.
54 55 56 57 58 59 60 61 62 63const testCafeConfiguration = new TestCafeConfiguration(); let keyFileContent = null; let keyFile = null; consoleWrapper.init(); tmp.setGracefulCleanup(); beforeEach(() => { keyFile = tmp.fileSync(); keyFileContent = Buffer.from(nanoid());
tmp.dirSync is the most popular function in tmp (114 examples)