Skip to content

Commit c9a6240

Browse files
committed
test: update test of displaySize
1 parent a702963 commit c9a6240

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/index.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,10 @@ describe('render <JsonViewer/> with props', () => {
238238
})
239239
})
240240

241-
it('render with displayObjectSize', async () => {
241+
it('render with displaySize', async () => {
242242
const selection = [true, false]
243-
selection.forEach(displayObjectSize => {
244-
render(<JsonViewer value={['string1', 'string2']} displayObjectSize={displayObjectSize} />)
243+
selection.forEach(displaySize => {
244+
render(<JsonViewer value={['string1', 'string2']} displaySize={displaySize} />)
245245
})
246246
})
247247

0 commit comments

Comments
 (0)