File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { createRequire } from 'node:module'
22import dedent from 'dedent'
3+ import * as prettier from 'prettier'
34import { test } from 'vitest'
45import { javascript } from './tests.js'
56import 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' )
You can’t perform that action at this time.
0 commit comments