Skip to content

Commit

Permalink
autofix e2e tests4
Browse files Browse the repository at this point in the history
  • Loading branch information
dbale-altoros committed Jul 1, 2024
1 parent 79ecd10 commit 35adc1b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions e2e/autofix-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ function retrieveParams(subpath) {
function compareTextFiles(file1Path, file2Path) {
const file1Content = fs.readFileSync(file1Path, 'utf-8')
const file2Content = fs.readFileSync(file2Path, 'utf-8')

console.log('=================================================================================')
console.log('=================================================================================')
console.log('=================================================================================')
console.log('file2Content: ', file2Content)
console.log('=================================================================================')
console.log('=================================================================================')
return file1Content === file2Content
}

Expand Down Expand Up @@ -582,13 +589,6 @@ describe('e2e', function () {
;({ code, stdout } = shell.exec(
`${params.command} ${params.param1} -c ${currentConfig} ${currentFile} --fix --disc --noPrompt`
))
console.log('=================================================================================');
console.log('=================================================================================');
console.log('=================================================================================');
console.log('currentFile :>> ', currentFile);
console.log('=================================================================================');
console.log('=================================================================================');
console.log('=================================================================================');
result = compareTextFiles(currentFile, afterFixFile)
expect(result).to.be.true
})
Expand Down

0 comments on commit 35adc1b

Please sign in to comment.