ci: Fix typing issues in cli tests (no-changelog) (#5227)
This commit is contained in:
committed by
GitHub
parent
96dddf12e1
commit
bd14ec1110
@@ -67,9 +67,9 @@ test('should not report non-risky official nodes', async () => {
|
||||
await saveManualTriggerWorkflow();
|
||||
|
||||
const testAudit = await audit(['nodes']);
|
||||
if (Array.isArray(testAudit)) return;
|
||||
|
||||
const report = testAudit?.[toReportTitle('nodes')];
|
||||
|
||||
const report = testAudit[toReportTitle('nodes')];
|
||||
if (!report) return;
|
||||
|
||||
for (const section of report.sections) {
|
||||
|
||||
Reference in New Issue
Block a user