You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
it('should should stack horizontally if isInline',()=>{
50
-
constinlineAttrs='is-inline'
51
-
renderComponent({ inlineAttrs })
52
-
conststack=screen.getByTestId('stack')
53
-
expect(stack).toHaveStyle('display: flex')
54
-
expect(stack).toHaveStyle('flex-direction: row')
55
-
})
50
+
it('should should stack horizontally if isInline',()=>{
51
+
constinlineAttrs='is-inline'
52
+
renderComponent({ inlineAttrs })
53
+
conststack=screen.getByTestId('stack')
54
+
expect(stack).toHaveStyle('display: flex')
55
+
expect(stack).toHaveStyle('flex-direction: row')
56
+
})
56
57
57
-
it('should should stack native html elements',()=>{
58
-
const{ asFragment }=renderComponent({
59
-
template: `
60
-
<CStack data-testid="stack">
61
-
<CText mt="4">The future can be even brighter but a goal without a plan is just a wish</CText>
62
-
<p data-testid="stacked-p">I am a happy paragraph element</p>
63
-
<h3 data-testid="stacked-h3">I am a jolly heading element</h3>
64
-
<CText mt="4">You deserve good things. With a whooping 10-15% interest rate per annum, grow your savings on your own terms with our completely automated process</CText>
65
-
</CStack>
66
-
`
58
+
it('should should stack native html elements',()=>{
59
+
const{ asFragment }=renderComponent({
60
+
template: `
61
+
<CStack data-testid="stack">
62
+
<CText mt="4">The future can be even brighter but a goal without a plan is just a wish</CText>
63
+
<p data-testid="stacked-p">I am a happy paragraph element</p>
64
+
<h3 data-testid="stacked-h3">I am a jolly heading element</h3>
65
+
<CText mt="4">You deserve good things. With a whooping 10-15% interest rate per annum, grow your savings on your own terms with our completely automated process</CText>
0 commit comments