Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Commit

Permalink
Adding in test for multiple selectors with a pseudo class
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanKingston committed Oct 26, 2015
1 parent a96a660 commit cf0f7dc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,22 @@ article h6 + p {}`,
"should works handle multiples combined selectors"
)

t.equal(
transform(
`@custom-selector :--foo .foo;
:--foo :--foo:hover {
color: white;
}
`
).css,
`.foo .foo:hover {
color: white;
}
`,
"should works handle multiples combined selectors with pseudo classes"
)

t.equal(
transform(
`@custom-selector :--foo h1, h2, h3;
Expand Down

0 comments on commit cf0f7dc

Please sign in to comment.