Skip to content

Commit 6e101ec

Browse files
committed
fix class ordering in test
1 parent fdac9ca commit 6e101ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/globalStyles.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('Comp:', () => {
5555
<Comp propsTest children={<div className="inner-test" />} />
5656
)
5757
expect(wrapper.type()).toBe('div')
58-
expect(wrapper.prop('className')).toEqual('inner-test props-test')
58+
expect(wrapper.prop('className')).toEqual('props-test inner-test')
5959
})
6060

6161
test('should merge style', () => {
@@ -85,7 +85,7 @@ describe('createElement', () => {
8585
</Tester.Comp>
8686
)
8787
expect(wrapper.prop('className')).toEqual(
88-
'inner-test tester tester-props-test'
88+
'tester tester-props-test inner-test'
8989
)
9090
})
9191
})

0 commit comments

Comments
 (0)