Skip to content

Commit 9add7b5

Browse files
author
dbale-altoros
committed
feature: duplicated import rule
1 parent 1a98e39 commit 9add7b5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

e2e/autofix-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ describe('e2e', function () {
613613
expect(result).to.be.true
614614
})
615615
})
616+
616617
// describe('autofix rule: imports-order Foo2', () => {
617618
// before(function () {
618619
// params = retrieveParams('imports-order/')

e2e/formatters-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ describe('e2e', function () {
8888
const reportLines = stdout.split('\n')
8989
let expectedLine
9090

91-
for (let i = 0; i < reportLines.length - 3; i++) {
91+
for (let i = 0; i < reportLines.length - 7; i++) {
9292
expectedLine = `${foo2Output[i].filePath}:${foo2Output[i].line}:${foo2Output[i].column}: ${foo2Output[i].message} [${foo2Output[i].severity}/${foo2Output[i].ruleId}]`
9393
expect(reportLines[i]).to.equal(expectedLine)
9494
}
9595
expect(code).to.equal(EXIT_CODES.OK)
9696

9797
const finalLine = '3 problem/s (3 warning/s)'
98-
expect(reportLines[reportLines.length - 2]).to.equal(finalLine)
98+
expect(reportLines[reportLines.length - 6]).to.equal(finalLine)
9999
})
100100

101101
it('should make the output report with unix formatter for Foo and Foo2 and Foo3', () => {

0 commit comments

Comments
 (0)