Skip to content

Commit a06de58

Browse files
feat: add logic-contract tests for api router
Signed-off-by: Fredrik Nordlander <fredrik.nordlander@digg.se>
1 parent f478592 commit a06de58

File tree

5 files changed

+420
-3
lines changed

5 files changed

+420
-3
lines changed

package-lock.json

Lines changed: 228 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@
3737
"@types/express": "^5.0.1",
3838
"@types/jest": "^30.0.0",
3939
"@types/node": "^24.0.0",
40+
"@types/supertest": "^6.0.3",
4041
"jest": "^30.0.4",
4142
"standard-version": "^9.5.0",
43+
"supertest": "^7.1.4",
4244
"ts-jest": "^29.4.1",
4345
"ts-node": "^10.9.2",
4446
"typescript": "^5.9.2"

src/cli-mode.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ export async function execCLI<T extends CliArgs>(argv: T) {
141141
const customDiagnostic = new RapLPDiagnostic();
142142
customDiagnostic.processRuleExecutionInformation(result, enabledRulesAndCategorys.instanceCategoryMap);
143143
const diagnosticReports: DiagnosticReport[] = customDiagnostic.processDiagnosticInformation();
144-
console.log("REPORT");
145-
console.log(JSON.stringify(diagnosticReports,null,2));
146144
if (argv.dex != null) {
147145
const reportHandler = new ExcelReportProcessor({
148146
outputFilePath: argv.dex,

0 commit comments

Comments
 (0)