Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const wrapped = await wrap(() => fs.access(testOutputDir));
expect(wrapped).not.toThrow();
const wrapped = await wrap(() => fs.access(testOutputDir));
expect(wrapped).not.toThrow();
const wrapped = await wrap(() => fs.access(path.resolve(testOutputDir, templateName, outputFileDirectory)));
expect(wrapped).not.toThrow();
const wrapped = await wrap(() => fs.access(path.resolve(testOutputDir, templateName)));
expect(wrapped).not.toThrow();
const wrapped = await wrap(() => fs.access(testOutputFile));
expect(wrapped).not.toThrow();
const wrapped = await wrap(() => fs.access(testOutputFile));
expect(wrapped).not.toThrow();