Skip to content

Commit 81990f0

Browse files
#RI-5749 - fix test
1 parent 7cf0c36 commit 81990f0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

redisinsight/ui/src/components/monaco-editor/components/monaco-yaml/MonacoYaml.spec.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,4 @@ describe('MonacoYaml', () => {
1515
/>)
1616
expect(queryByTestId(monacoTestId)).toBeInTheDocument()
1717
})
18-
it('should not render if schema is null', () => {
19-
const { queryByTestId } = render(<MonacoYaml
20-
schema={null}
21-
value="val"
22-
onChange={jest.fn()}
23-
data-testid={monacoTestId}
24-
/>)
25-
expect(queryByTestId(monacoTestId)).not.toBeInTheDocument()
26-
})
2718
})

0 commit comments

Comments
 (0)