Skip to content

Commit ab900fa

Browse files
committed
Skip prettier-plugin-multiline-arrays tests for now
That plugin is currently broken when used with Prettier v3.7
1 parent ebd110e commit ab900fa

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tests/plugins.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createRequire } from 'node:module'
22
import dedent from 'dedent'
3+
import * as prettier from 'prettier'
34
import { test } from 'vitest'
45
import { javascript } from './tests.js'
56
import type { TestEntry } from './utils.js'
@@ -492,7 +493,11 @@ for (const group of tests) {
492493
let name = group.plugins.join(', ')
493494

494495
for (let parser in group.tests) {
495-
test(`parsing ${parser} works with: ${name}`, async ({ expect }) => {
496+
test(`parsing ${parser} works with: ${name}`, async ({ expect, skip }) => {
497+
if (group.plugins.includes('prettier-plugin-multiline-arrays')) {
498+
return skip('The `prettier-plugin-multiline-arrays` plugin does not work with Prettier v3.7+')
499+
}
500+
496501
// Hide logs from Pug's prettier plugin
497502
if (parser === 'pug') {
498503
let pug = await import('@prettier/plugin-pug')

0 commit comments

Comments
 (0)