Skip to content

Commit

Permalink
feat(sonar): ajoute la possibilité de faire 2 type de report via la c…
Browse files Browse the repository at this point in the history
…ommande nodejs
  • Loading branch information
titiBeOne committed May 23, 2023
1 parent 0adf92b commit 463f4ff
Show file tree
Hide file tree
Showing 6 changed files with 6,727 additions and 32 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ coverage
reports
screenshots
.DS_Store
videos
videos
report_final
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"<node_internals>/**"
],
"program": "${workspaceFolder}\\src\\cli.js",
"args": ["--srcLighthouse", "./example/lighthouse", "--srcEcoIndex","./example/ecoindex" ,"--reports","html", "--outputPath" , "./example/report_final"]
"args": ["--srcLighthouse", "./example/lighthouse", "--srcEcoIndex","./example/ecoindex" ,"--reports","[\"html\",\"sonar\"]", "--outputPath" , "./example/report_final", "--sonarFilePath", "./sonarReport.json"]
}
]
}
1 change: 1 addition & 0 deletions cypress-demo/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
(_options, result) => {
console.log(result);
},
"sonar",
],
verbose: true,
srcLighthouse: lighthouseOutputPathDir,
Expand Down
Loading

0 comments on commit 463f4ff

Please sign in to comment.