We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it('should create css from array', () => { const base = { fontSize: 12 }; const next = ` font-size: 15px; `; const { getByText } = render(<div css={[base, next]}>hello world</div>); expect(getByText('hello world')).toHaveCompiledCss('font-size', '12px'); });
it should only match the last one - not both. this passes because of the bug.
The text was updated successfully, but these errors were encountered:
This test is technically correct because compiled doesn't dedupe style rules.
The below is valid css:
<div css={` color: red; color: blue; :hover { color: green; } `} >foo</div>
Sorry, something went wrong.
danieldelcore
No branches or pull requests
it should only match the last one - not both. this passes because of the bug.
The text was updated successfully, but these errors were encountered: