Skip to content

Commit da5afe2

Browse files
stories to TS
1 parent 1f97d37 commit da5afe2

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/components/Atomic/CodeEditor/CodeEditor.test.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,4 @@ describe('<CodeEditor>', () => {
88

99
expect(asFragment()).toMatchSnapshot()
1010
})
11-
12-
it('displays placeholder text when value is empty', () => {
13-
const { getByText, asFragment } = render(<CodeEditor placeholderText='Placeholder' value='' />)
14-
expect(getByText('Placeholder')).toBeInTheDocument()
15-
16-
expect(asFragment()).toMatchSnapshot()
17-
})
18-
19-
it('does not display placeholder text when value is not empty', () => {
20-
const { queryByText } = render(<CodeEditor placeholderText='Placeholder' value='Some value' />)
21-
expect(queryByText('Placeholder')).not.toBeInTheDocument()
22-
})
2311
})

0 commit comments

Comments
 (0)