Skip to content

Commit

Permalink
test: e2e not workin 6
Browse files Browse the repository at this point in the history
  • Loading branch information
dbale-altoros committed Dec 20, 2023
1 parent 46eb0dd commit c072707
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions e2e/autofix-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,16 @@ describe('e2e', function () {
expect(result).to.be.true
})

it('should execute and exit with code 1 (5)', () => {
it('should execute and compare Foo1 with template AFTER FIX and they should match (5)', () => {
({ code, stdout } = shell.exec(
`${params.command} ${params.param1} -c ${currentConfig} ${currentFile} --fix --disc --noPrompt`
))

result = compareTextFiles(currentFile, afterFixFile)
expect(result).to.be.true
})

it('should execute and exit with code 1 (5)', () => {
expect(code).to.equal(1)
})

Expand All @@ -307,11 +312,6 @@ describe('e2e', function () {
const finalLine = '11 problems (11 errors, 0 warnings)'
expect(reportLines[reportLines.length - 3]).to.contain(finalLine)
})

it('should compare Foo1 file with template AFTER FIX file and they should match (5)', () => {
result = compareTextFiles(currentFile, afterFixFile)
expect(result).to.be.true
})
})

xit('should check FOO1 does not change after test (5)', () => {
Expand Down

0 comments on commit c072707

Please sign in to comment.