@@ -482,6 +482,7 @@ describe('The watch method', function () {
482
482
}
483
483
]
484
484
for ( const pattern of patterns ) {
485
+ // eslint-disable-next-line mocha/no-setup-in-describe
485
486
; ( pattern . only ? describe . only : describe ) ( pattern . description , ( ) => {
486
487
beforeEach ( function ( ) { return setupTestDir ( pattern . initialFiles ) } )
487
488
@@ -526,9 +527,12 @@ describe('The watch method', function () {
526
527
}
527
528
]
528
529
for ( const pattern of patternsWithIgnore ) {
530
+ // eslint-disable-next-line mocha/no-setup-in-describe
529
531
; ( pattern . only ? describe . only : describe ) ( pattern . description , ( ) => {
532
+ // eslint-disable-next-line mocha/no-sibling-hooks
530
533
beforeEach ( function ( ) { return setupTestDir ( pattern . initialFiles ) } )
531
534
535
+ // eslint-disable-next-line mocha/no-identical-title
532
536
it ( 'lib version.' , async function ( ) {
533
537
watcher = cpx . watch ( 'test-ws/a/**/*.txt' , 'test-ws/b' , {
534
538
ignore : pattern . ignore
@@ -539,6 +543,7 @@ describe('The watch method', function () {
539
543
await verifyTestDir ( pattern . verify )
540
544
} )
541
545
546
+ // eslint-disable-next-line mocha/no-identical-title
542
547
it ( 'command version.' , async function ( ) {
543
548
command = execCommand (
544
549
`"test-ws/a/**/*.txt" test-ws/b --watch --verbose --ignore ${ pattern . ignore . join (
0 commit comments