Skip to content

Commit 425a056

Browse files
committed
remove obsolete
1 parent e606767 commit 425a056

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

packages/sn-controls-react/test/__snapshots__/short-text.test.tsx.snap

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,5 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Short text field control in browse view should show [OBJECT] when iccorect type passed 1`] = `
4-
<div>
5-
<WithStyles(ForwardRef(Typography))
6-
gutterBottom={true}
7-
variant="caption"
8-
>
9-
Display name
10-
</WithStyles(ForwardRef(Typography))>
11-
<WithStyles(ForwardRef(Typography))
12-
gutterBottom={true}
13-
variant="body1"
14-
>
15-
[OBJECT]
16-
</WithStyles(ForwardRef(Typography))>
17-
</div>
18-
`;
19-
20-
exports[`Short text field control in browse view should show [OBJECT] when iccorect value type passed 1`] = `
21-
<div>
22-
<WithStyles(ForwardRef(Typography))
23-
gutterBottom={true}
24-
variant="caption"
25-
>
26-
Display name
27-
</WithStyles(ForwardRef(Typography))>
28-
<WithStyles(ForwardRef(Typography))
29-
gutterBottom={true}
30-
variant="body1"
31-
>
32-
[OBJECT]
33-
</WithStyles(ForwardRef(Typography))>
34-
</div>
35-
`;
36-
373
exports[`Short text field control in browse view should show the displayname and fieldValue when fieldValue is provided 1`] = `
384
<div>
395
<WithStyles(ForwardRef(Typography))

packages/sn-controls-react/test/short-text.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ describe('Short text field control', () => {
2929
const wrapper = shallow(<ShortText fieldValue={value as any} actionName="browse" settings={defaultSettings} />)
3030
expect(wrapper.find(Typography).first().text()).toBe(defaultSettings.DisplayName)
3131
expect(wrapper.find(Typography).last().text()).toBe('[OBJECT]')
32-
expect(wrapper).toMatchSnapshot()
3332
})
3433
})
3534
describe('in edit/new view', () => {

0 commit comments

Comments
 (0)