Skip to content

Commit 0fb8f0f

Browse files
committed
Ignore working code
1 parent 1396a28 commit 0fb8f0f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/watch.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ describe('The watch method', function () {
482482
}
483483
]
484484
for (const pattern of patterns) {
485+
// eslint-disable-next-line mocha/no-setup-in-describe
485486
;(pattern.only ? describe.only : describe)(pattern.description, () => {
486487
beforeEach(function () { return setupTestDir(pattern.initialFiles) })
487488

@@ -526,9 +527,12 @@ describe('The watch method', function () {
526527
}
527528
]
528529
for (const pattern of patternsWithIgnore) {
530+
// eslint-disable-next-line mocha/no-setup-in-describe
529531
;(pattern.only ? describe.only : describe)(pattern.description, () => {
532+
// eslint-disable-next-line mocha/no-sibling-hooks
530533
beforeEach(function () { return setupTestDir(pattern.initialFiles) })
531534

535+
// eslint-disable-next-line mocha/no-identical-title
532536
it('lib version.', async function () {
533537
watcher = cpx.watch('test-ws/a/**/*.txt', 'test-ws/b', {
534538
ignore: pattern.ignore
@@ -539,6 +543,7 @@ describe('The watch method', function () {
539543
await verifyTestDir(pattern.verify)
540544
})
541545

546+
// eslint-disable-next-line mocha/no-identical-title
542547
it('command version.', async function () {
543548
command = execCommand(
544549
`"test-ws/a/**/*.txt" test-ws/b --watch --verbose --ignore ${pattern.ignore.join(

0 commit comments

Comments
 (0)