Test: correct coverage syntax

This commit is contained in:
Lovell Fuller 2021-06-13 10:18:01 +01:00
parent 6c2e6c5432
commit e418d91511

View File

@ -23,7 +23,7 @@ const mkdirSync = function (dirPath) {
try {
fs.mkdirSync(dirPath, { recursive: true });
} catch (err) {
/* istanbul ignore if */
/* istanbul ignore next */
if (err.code !== 'EEXIST') {
throw err;
}