Skip to content

Commit

Permalink
Fix type check issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gsoldevila committed Nov 22, 2023
1 parent 82967fc commit dd6eefa
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default function (providerContext: FtrProviderContext) {
try {
await kibanaServer.savedObjects.cleanStandardList();
} catch (error) {
// eslint-disable-next-line no-console
console.log('cis_integration.ts#after() failed', error);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
try {
await cspDashboard.index.remove();
} catch (error) {
// eslint-disable-next-line no-console
console.log('compliance_dashboard.ts#after() failed', error);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
try {
await findings.index.remove();
} catch (error) {
// eslint-disable-next-line no-console
console.log('findings.ts#after() failed', error);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
await findings.index.remove();
await findings.detectionRuleApi.remove();
} catch (error) {
// eslint-disable-next-line no-console
console.log('findings_alerts.ts#after() failed', error);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
try {
await findings.index.remove();
} catch (error) {
// eslint-disable-next-line no-console
console.log('findings_old_data.ts#after() failed', error);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
try {
await index.removeFindings();
} catch (error) {
// eslint-disable-next-line no-console
console.log('vulnerability_dashboard.ts#after() failed', error);
}
});
Expand Down

0 comments on commit dd6eefa

Please sign in to comment.