From 789ffb775430822a34617f6f381de0c2d6abe549 Mon Sep 17 00:00:00 2001 From: Tyler Ohlsen Date: Mon, 5 Dec 2022 14:45:18 -0800 Subject: [PATCH] Fix newlines in text args Signed-off-by: Tyler Ohlsen --- .github/workflows/unit-tests-workflow.yml | 4 ++++ .../NameAndDescription/NameAndDescription.tsx | 3 +-- .../DefineDetector/components/Settings/Settings.tsx | 10 ++++------ .../__tests__/__snapshots__/Settings.test.tsx.snap | 4 ++-- .../__snapshots__/DefineDetector.test.tsx.snap | 8 ++++---- .../Overview/containers/AnomalyDetectionOverview.tsx | 3 +-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/unit-tests-workflow.yml b/.github/workflows/unit-tests-workflow.yml index 9329ab83..6ef739e1 100644 --- a/.github/workflows/unit-tests-workflow.yml +++ b/.github/workflows/unit-tests-workflow.yml @@ -16,6 +16,10 @@ jobs: os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: + # Enable longer filenames for windows + - name: Enable longer filenames + if: ${{ matrix.os == 'windows-latest' }} + run: git config --system core.longpaths true - name: Checkout OpenSearch Dashboards uses: actions/checkout@v2 with: diff --git a/public/pages/DefineDetector/components/NameAndDescription/NameAndDescription.tsx b/public/pages/DefineDetector/components/NameAndDescription/NameAndDescription.tsx index 17bf1ffe..cd90e6bc 100644 --- a/public/pages/DefineDetector/components/NameAndDescription/NameAndDescription.tsx +++ b/public/pages/DefineDetector/components/NameAndDescription/NameAndDescription.tsx @@ -27,8 +27,7 @@ function NameAndDescription(props: NameAndDescriptionProps) { {({ field, form }: FieldProps) => ( { { spec renders the component 1`] = ` >
spec renders the component 1`] = ` class="euiText euiText--medium sublabel" style="max-width: 400px;" > - Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need. + Define how often the detector collects data to generate anomalies. The shorter the interval is, the more real time the detector results will be, and the more computing resources the detector will need. spec creating detector definition renders the compon >