Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.add('css prop compat with random', () => {
let cache = createCache()
createEmotionServer(cache).renderStylesToString(
renderToString(
React.createElement(
CacheProvider,
{ value: cache },
React.createElement(CssPropTriangle, {
s: 100,
x: 0,
y: 0,
random: Math.random()
})
)
)
)
})
.add('css func with random', () => {