Skip to content

Commit 0c278ed

Browse files
#RI-5829 - update test
1 parent c62560e commit 0c278ed

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

redisinsight/ui/src/pages/rdi/pipeline-management/pages/config/Config.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react'
22
import { useFormikContext } from 'formik'
33
import { cloneDeep } from 'lodash'
4-
import { EuiText } from '@elastic/eui'
54
import { AxiosError } from 'axios'
65
import { rdiPipelineSelector, setChangedFile, deleteChangedFile } from 'uiSrc/slices/rdi/pipeline'
76
import { rdiTestConnectionsSelector } from 'uiSrc/slices/rdi/testConnections'
@@ -191,8 +190,9 @@ describe('Config', () => {
191190
data: {
192191
message: (
193192
<>
194-
<EuiText>Config has an invalid structure.</EuiText>
195-
<EuiText>end of the stream or a document separator is expected</EuiText>
193+
Config has an invalid structure.
194+
<br />
195+
end of the stream or a document separator is expected
196196
</>
197197
)
198198
}

redisinsight/ui/src/pages/rdi/pipeline-management/pages/job/JobsWrapper.spec.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,9 @@ describe('JobWrapper', () => {
207207
data: {
208208
message: (
209209
<>
210-
<EuiText>JobName has an invalid structure.</EuiText>
211-
<EuiText>end of the stream or a document separator is expected</EuiText>
210+
JobName has an invalid structure.
211+
<br />
212+
end of the stream or a document separator is expected
212213
</>
213214
)
214215
}

0 commit comments

Comments
 (0)