Skip to content

Commit

Permalink
fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Nov 14, 2023
1 parent 7833d71 commit 80bd0c4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 15 deletions.
5 changes: 3 additions & 2 deletions packages/kbn-reporting/export_types/pdf/printable_pdf.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ import { Writable } from 'stream';
import { coreMock, elasticsearchServiceMock, loggingSystemMock } from '@kbn/core/server/mocks';
import { CancellationToken } from '@kbn/reporting-common';
import { TaskPayloadPDF } from '@kbn/reporting-export-types-pdf-common';
import { cryptoFactory, generatePdfObservable } from '@kbn/reporting-server';
import { createMockConfigSchema } from '@kbn/reporting-mocks-server';
import { cryptoFactory } from '@kbn/reporting-server';
import { ScreenshottingStart } from '@kbn/screenshotting-plugin/server';

import { PdfV1ExportType } from '.';
import { generatePdfObservable } from './generate_pdf';

jest.mock('@kbn/reporting-server/generate_pdf');
jest.mock('./generate_pdf');

let content: string;
let mockPdfExportType: PdfV1ExportType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ import { CancellationToken } from '@kbn/reporting-common';
import type { LocatorParams } from '@kbn/reporting-common/types';
import type { TaskPayloadPDFV2 } from '@kbn/reporting-export-types-pdf-common';
import { createMockConfigSchema } from '@kbn/reporting-mocks-server';
import { cryptoFactory, generatePdfObservableV2 } from '@kbn/reporting-server';
import { cryptoFactory } from '@kbn/reporting-server';
import type { ScreenshottingStart } from '@kbn/screenshotting-plugin/server';

import { PdfExportType } from '.';
import { generatePdfObservableV2 } from './generate_pdf_v2';

jest.mock('@kbn/reporting-server/generate_pdf_v2');
jest.mock('./generate_pdf_v2');

let content: string;
let mockPdfExportType: PdfExportType;
Expand Down
5 changes: 3 additions & 2 deletions packages/kbn-reporting/export_types/png/png_v2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ import { CancellationToken } from '@kbn/reporting-common';
import type { LocatorParams } from '@kbn/reporting-common/types';
import type { TaskPayloadPNGV2 } from '@kbn/reporting-export-types-png-common';
import { createMockConfigSchema } from '@kbn/reporting-mocks-server';
import { cryptoFactory, generatePngObservable } from '@kbn/reporting-server';
import { cryptoFactory } from '@kbn/reporting-server';
import type { ScreenshottingStart } from '@kbn/screenshotting-plugin/server';

import { PngExportType } from '.';
import { generatePngObservable } from './generate_png';

jest.mock('@kbn/reporting-server/generate_png');
jest.mock('./generate_png');

let content: string;
let mockPngExportType: PngExportType;
Expand Down
3 changes: 0 additions & 3 deletions x-pack/plugins/translations/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -43328,9 +43328,6 @@
"observabilityAlertDetails.alertThresholdTimeRangeRect.detailsTooltip": "Seuil",
"randomSampling.ui.sliderControl.accuracyLabel": "Précision",
"randomSampling.ui.sliderControl.performanceLabel": "Performances",
"generateCsv.browserCouldNotLaunchErrorMessage": "Impossible de générer des captures d'écran, car le navigateur ne s’est pas lancé. Consultez les logs de serveur pour en savoir plus.",
"generateCsv.cloud.insufficientSystemMemoryError": "Impossible de générer ce rapport en raison d’un manque de mémoire.",
"generateCsv.pdfWorkerOutOfMemoryErrorMessage": "Impossible de générer un PDF en raison d’un manque de mémoire. Essayez de réduire la taille du PDF et relancez ce rapport.",
"reporting.commonExportTypesHelpers.missingJobHeadersErrorMessage": "Les en-têtes de tâche sont manquants",
"reporting.commonExportTypesHelpers.failedToDecryptReportJobDataErrorMessage": "Impossible de déchiffrer les données de la tâche de reporting. Veuillez vous assurer que {encryptionKey} est défini et générez à nouveau ce rapport. {err}",
"reactPackages.mountPointPortal.errorMessage": "Erreur lors du rendu du contenu du portail.",
Expand Down
3 changes: 0 additions & 3 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -43318,9 +43318,6 @@
"observabilityAlertDetails.alertThresholdTimeRangeRect.detailsTooltip": "しきい値",
"randomSampling.ui.sliderControl.accuracyLabel": "精度",
"randomSampling.ui.sliderControl.performanceLabel": "パフォーマンス",
"generateCsv.browserCouldNotLaunchErrorMessage": "ブラウザーが起動していないため、スクリーンショットを生成できません。詳細については、サーバーログを参照してください。",
"generateCsv.cloud.insufficientSystemMemoryError": "メモリ不足のため、このレポートを生成できません。",
"generateCsv.pdfWorkerOutOfMemoryErrorMessage": "メモリ不足のため、PDFを生成できません。PDFのサイズを小さくして、このレポートを再試行してください。",
"reporting.commonExportTypesHelpers.failedToDecryptReportJobDataErrorMessage": "レポートジョブデータの解読に失敗しました。{encryptionKey} が設定されていることを確認してこのレポートを再生成してください。{err}",
"reporting.commonExportTypesHelpers.missingJobHeadersErrorMessage": "ジョブヘッダーがありません",
"reactPackages.mountPointPortal.errorMessage": "ポータルコンテンツのレンダリングエラー",
Expand Down
3 changes: 0 additions & 3 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -43312,9 +43312,6 @@
"observabilityAlertDetails.alertThresholdTimeRangeRect.detailsTooltip": "阈值",
"randomSampling.ui.sliderControl.accuracyLabel": "准确性",
"randomSampling.ui.sliderControl.performanceLabel": "性能",
"generateCsv.browserCouldNotLaunchErrorMessage": "无法生成屏幕截图,因为浏览器未启动。有关更多信息,请查看服务器日志。",
"generateCsv.cloud.insufficientSystemMemoryError": "由于内存不足,无法生成此报告。",
"generateCsv.pdfWorkerOutOfMemoryErrorMessage": "由于内存不足,无法生成 PDF。尝试生成更小的 PDF,然后重试此报告。",
"reporting.commonExportTypesHelpers.missingJobHeadersErrorMessage": "作业标头缺失",
"reporting.commonExportTypesHelpers.failedToDecryptReportJobDataErrorMessage": "无法解密报告作业数据。请确保已设置 {encryptionKey},然后重新生成此报告。{err}",
"reactPackages.mountPointPortal.errorMessage": "呈现门户内容时出错",
Expand Down

0 comments on commit 80bd0c4

Please sign in to comment.