DEV Community

Cover image for Living on the edge with “dangerous”

Living on the edge with “dangerous”

Sung M. Kim on January 13, 2019

As I’ve been using Styled Components (SC hereafter) and been wondering about the magic behind it. Thankfully, Max Stoiber (a creator of SC) has wr...
Collapse
 
marius profile image
Marius Espejo

just wanted to share, another cool use case that I’ve seen it used is in testcafe for defining a group of e2e tests

fixture `MyFixture`
    .page `http://mywebsite.com/path`;

test('Test1', async t => {
    // Starts at http://mywebsite.com/path
});
Collapse
 
dance2die profile image
Sung M. Kim

Thanks Marius. 😄

I can't think of use case for chaining right now but knowing what's available does help 👍