Skip to content
New issue

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

Allow returning parallel variants from addVariant or matchVariant callback functions #8455

Merged
merged 9 commits into from
May 31, 2022
Prev Previous commit
Next Next commit
upgrade test to use a function call
  • Loading branch information
RobinMalfait committed May 27, 2022
commit f5369ca466df83cbccbc44274002d37895e9fa17
2 changes: 1 addition & 1 deletion tests/parallel-variants.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test('parallel variants can be generated using a function that returns parallel
],
plugins: [
function test({ addVariant }) {
addVariant('test', ['& *::test', '&::test'])
addVariant('test', () => ['& *::test', '&::test'])
},
],
}
Expand Down