Skip to content

Commit

Permalink
fix debugs test smartapi
Browse files Browse the repository at this point in the history
  • Loading branch information
rjawesome committed Jun 20, 2024
1 parent f0f2d31 commit c69f671
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controllers/cron/test_smartapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ export default function testSmartApi() {
debug(`Testing SmartAPI specs now at ${new Date().toUTCString()}!`);
const span = Telemetry.startSpan({ description: "smartapiTest" });
try {
let dbg_namespaces = Debug.disable();
const results = await runTests(false);
Debug.enable(dbg_namespaces)
if (results.errors.length === 0) {
debug(`Testing SmartAPI specs successful. ${results.opsCount} operations tested.`);
}
Expand Down

0 comments on commit c69f671

Please sign in to comment.