Skip to content

Commit 9860a9c

Browse files
committed
update tabs tests
1 parent 3a03a5f commit 9860a9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/unit/tabs.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,22 +178,22 @@ describe('tabWidget', () => {
178178
})
179179
it('positions tabs on top by default', () => {
180180
tabWidgetElement = tabs.tabWidget(minimalOptions)
181-
expect(tabWidgetElement.style['flex-direction']).toEqual('column;')
181+
expect(tabWidgetElement.style['flex-direction']).toEqual('column')
182182
})
183183

184184
it('can position tabs on right', () => {
185185
tabWidgetElement = tabs.tabWidget({ orientation: '1', ...minimalOptions })
186-
expect(tabWidgetElement.style['flex-direction']).toEqual('row;')
186+
expect(tabWidgetElement.style['flex-direction']).toEqual('row')
187187
})
188188

189189
it('can position tabs on bottom', () => {
190190
tabWidgetElement = tabs.tabWidget({ orientation: '2', ...minimalOptions })
191-
expect(tabWidgetElement.style['flex-direction']).toEqual('column-reverse;')
191+
expect(tabWidgetElement.style['flex-direction']).toEqual('column-reverse')
192192
})
193193

194194
it('can position tabs on left', () => {
195195
tabWidgetElement = tabs.tabWidget({ orientation: '3', ...minimalOptions })
196-
expect(tabWidgetElement.style['flex-direction']).toEqual('row-reverse;')
196+
expect(tabWidgetElement.style['flex-direction']).toEqual('row-reverse')
197197
})
198198
})
199199

0 commit comments

Comments
 (0)