Closed mattiaerre closed 7 years ago
// cc @matteofigus @nickbalestra
w/ SSR & styled-components
// cc @mxstbr
Yes! Love styled components, that's a very good spike 👍
next, I am going to try also jest-styled-components
// cc @MicheleBertoli
soooo nice! me ❤️ this 😊
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Title 1`] = `
.kbYEP {
font-size: 1.5em;
text-align: center;
}
<h1
className="sc-bdVaJa kbYEP"
>
Hello from oc-my-next-run Title
</h1>
`;
exports[`Wrapper 1`] = `
.bOYEsa {
padding: 2em;
background: floralwhite;
font-family: monospace;
border: 1px solid grey;
}
<section
className="sc-bwzfXH bOYEsa"
>
Hello from oc-my-next-run Wrapper
</section>
`;
// cc @matteofigus @mxstbr @MicheleBertoli
Thanks for trying it with SC v2, I'm happy you like it :) I can see two extra empty lines at the top of the snapshot, I'll investigate and fix it.
@MicheleBertoli perfectionist 😅
what do you think about this @scottlepich ?
Description