diff --git a/tests/plugins.test.js b/tests/plugins.test.js index f00d730e..e5ff3f8b 100644 --- a/tests/plugins.test.js +++ b/tests/plugins.test.js @@ -476,12 +476,11 @@ for (const group of tests) { } test(`parsing ${parser} works with: ${name}`, async ({ expect }) => { - // This segaults node - // I guess the noise is fine for now - // if (parser === 'pug') { - // let pug = await import('@prettier/plugin-pug') - // pug.logger.level = 'off' - // } + // Hide logs from Pug's prettier plugin + if (parser === 'pug') { + let pug = await import('@prettier/plugin-pug') + pug.logger.level = 'off' + } let plugins = [ ...group.plugins.map((name) => require.resolve(name)),