Skip to content

Commit

Permalink
Remove debug logging
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
  • Loading branch information
pjfitzgibbons committed Dec 14, 2023
1 parent 291f88b commit 6a8a299
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion public/components/metrics/helpers/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const pplServiceRequestor = (pplService: PPLService, finalQuery: string)
return pplService
.fetch({ query: finalQuery, format: VISUALIZATION })
.then((res) => {
console.log('pplService resolved value', { res });
return res;
})
.catch((error: Error) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ describe('Export Metrics Panel Component', () => {
// Assert
const saveButton = await screen.findByText(/Save/);
expect(saveButton).toBeInTheDocument();
act(async () => {
await act(async () => {
fireEvent.click(saveButton);

expect(await screen.findByTestId('metrics__querySaveName')).toBeInTheDocument();
Expand Down
1 change: 0 additions & 1 deletion public/components/metrics/top_menu/metrics_export.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ const MetricsExportPopOver = () => {
}, [osdCoreDashboards, availableObservabilityDashboards]);

useEffect(() => {
console.log('effect', { selectedMetrics, selectedMetricsIds });
if (selectedMetrics && selectedMetricsIds) {
const metricsArray = selectedMetricsIds.map((id) => selectedMetrics[id]);
setMetricsToExport(metricsArray);
Expand Down

0 comments on commit 6a8a299

Please sign in to comment.