Skip to content

Commit 0334f0c

Browse files
author
dbale-altoros
committed
feature: duplicated import rule
1 parent 988b8bd commit 0334f0c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

e2e/autofix-test.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe('e2e', function () {
145145

146146
const reportLines = stdout.split('\n')
147147
const finalLine = '5 problems (5 errors, 0 warnings)'
148-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
148+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
149149

150150
result = compareTextFiles(currentFile, afterFixFile)
151151
expect(result).to.be.true
@@ -194,7 +194,7 @@ describe('e2e', function () {
194194
it('should get the right report (2)', () => {
195195
const reportLines = stdout.split('\n')
196196
const finalLine = '27 problems (27 errors, 0 warnings)'
197-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
197+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
198198
})
199199
})
200200

@@ -240,7 +240,7 @@ describe('e2e', function () {
240240
it('should get the right report (3)', () => {
241241
const reportLines = stdout.split('\n')
242242
const finalLine = '9 problems (9 errors, 0 warnings)'
243-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
243+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
244244
})
245245
})
246246

@@ -286,7 +286,7 @@ describe('e2e', function () {
286286
it('should get the right report (4)', () => {
287287
const reportLines = stdout.split('\n')
288288
const finalLine = '19 problems (19 errors, 0 warnings)'
289-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
289+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
290290
})
291291
})
292292

@@ -332,7 +332,7 @@ describe('e2e', function () {
332332
it('should get the right report (5)', () => {
333333
const reportLines = stdout.split('\n')
334334
const finalLine = '11 problems (11 errors, 0 warnings)'
335-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
335+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
336336
})
337337
})
338338

@@ -379,7 +379,7 @@ describe('e2e', function () {
379379
it('should get the right report (6)', () => {
380380
const reportLines = stdout.split('\n')
381381
const finalLine = '8 problems (8 errors, 0 warnings)'
382-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
382+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
383383
})
384384
})
385385

@@ -419,7 +419,7 @@ describe('e2e', function () {
419419
it('should get the right report (6)', () => {
420420
const reportLines = stdout.split('\n')
421421
const finalLine = '8 problems (8 errors, 0 warnings)'
422-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
422+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
423423
})
424424
})
425425

@@ -466,7 +466,7 @@ describe('e2e', function () {
466466
it('should get the right report (7)', () => {
467467
const reportLines = stdout.split('\n')
468468
const finalLine = '3 problems (3 errors, 0 warnings)'
469-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
469+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
470470
})
471471
})
472472

@@ -512,7 +512,7 @@ describe('e2e', function () {
512512
it('should get the right report (8)', () => {
513513
const reportLines = stdout.split('\n')
514514
const finalLine = '5 problems (5 errors, 0 warnings)'
515-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
515+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
516516
})
517517
})
518518

@@ -558,7 +558,7 @@ describe('e2e', function () {
558558
it('should get the right report (9)', () => {
559559
const reportLines = stdout.split('\n')
560560
const finalLine = '6 problems (6 errors, 0 warnings)'
561-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
561+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
562562
})
563563
})
564564

@@ -604,7 +604,7 @@ describe('e2e', function () {
604604
it('should get the right report (10)', () => {
605605
const reportLines = stdout.split('\n')
606606
const finalLine = '18 problems (18 errors, 0 warnings)'
607-
expect(reportLines[reportLines.length - 5]).to.contain(finalLine)
607+
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
608608
})
609609
})
610610

0 commit comments

Comments
 (0)