Skip to content

Commit

Permalink
feature: duplicated import rule
Browse files Browse the repository at this point in the history
  • Loading branch information
dbale-altoros committed Jan 16, 2025
1 parent 9dbb93b commit fa1d56c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions e2e/autofix-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ describe('e2e', function () {

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

result = compareTextFiles(currentFile, afterFixFile)
expect(result).to.be.true
Expand Down Expand Up @@ -194,7 +194,7 @@ describe('e2e', function () {
it('should get the right report (2)', () => {
const reportLines = stdout.split('\n')
const finalLine = '27 problems (27 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -240,7 +240,7 @@ describe('e2e', function () {
it('should get the right report (3)', () => {
const reportLines = stdout.split('\n')
const finalLine = '9 problems (9 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -286,7 +286,7 @@ describe('e2e', function () {
it('should get the right report (4)', () => {
const reportLines = stdout.split('\n')
const finalLine = '19 problems (19 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -332,7 +332,7 @@ describe('e2e', function () {
it('should get the right report (5)', () => {
const reportLines = stdout.split('\n')
const finalLine = '11 problems (11 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -379,7 +379,7 @@ describe('e2e', function () {
it('should get the right report (6)', () => {
const reportLines = stdout.split('\n')
const finalLine = '8 problems (8 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -419,7 +419,7 @@ describe('e2e', function () {
it('should get the right report (6)', () => {
const reportLines = stdout.split('\n')
const finalLine = '8 problems (8 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -466,7 +466,7 @@ describe('e2e', function () {
it('should get the right report (7)', () => {
const reportLines = stdout.split('\n')
const finalLine = '3 problems (3 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -512,7 +512,7 @@ describe('e2e', function () {
it('should get the right report (8)', () => {
const reportLines = stdout.split('\n')
const finalLine = '5 problems (5 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -558,7 +558,7 @@ describe('e2e', function () {
it('should get the right report (9)', () => {
const reportLines = stdout.split('\n')
const finalLine = '6 problems (6 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -604,7 +604,7 @@ describe('e2e', function () {
it('should get the right report (10)', () => {
const reportLines = stdout.split('\n')
const finalLine = '18 problems (18 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
})
})

Expand Down Expand Up @@ -649,7 +649,7 @@ describe('e2e', function () {
// it('should get the right report (11)', () => {
// const reportLines = stdout.split('\n')
// const finalLine = '12 problems (12 errors, 0 warnings)'
// expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
// expect(reportLines[reportLines.length - 7]).to.contain(finalLine)
// })
// })

Expand Down

0 comments on commit fa1d56c

Please sign in to comment.