We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5eed72 commit 96d9d18Copy full SHA for 96d9d18
tests/plugins.test.js
@@ -476,12 +476,11 @@ for (const group of tests) {
476
}
477
478
test(`parsing ${parser} works with: ${name}`, async ({ expect }) => {
479
- // This segaults node
480
- // I guess the noise is fine for now
481
- // if (parser === 'pug') {
482
- // let pug = await import('@prettier/plugin-pug')
483
- // pug.logger.level = 'off'
484
- // }
+ // Hide logs from Pug's prettier plugin
+ if (parser === 'pug') {
+ let pug = await import('@prettier/plugin-pug')
+ pug.logger.level = 'off'
+ }
485
486
let plugins = [
487
...group.plugins.map((name) => require.resolve(name)),
0 commit comments