Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
stubExecOpts();
ChildProcessUtilities.exec.mockImplementation(() => Promise.resolve());
FileSystemUtilities.rename.mockImplementation((...args) => args.pop()());
writePkg.mockImplementation(() => Promise.resolve());
});