File tree Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -1572,28 +1572,22 @@ test('plugin configs take precedence over plugin configs registered by that plug
1572
1572
1573
1573
test ( 'plugin theme extensions are added even if user overrides top-level theme config' , ( ) => {
1574
1574
const userConfig = {
1575
+ theme : {
1576
+ width : {
1577
+ '1px' : '1px'
1578
+ }
1579
+ } ,
1575
1580
plugins : [
1576
1581
{
1577
1582
config : {
1578
1583
theme : {
1579
- width : {
1580
- '1px' : '1px'
1581
- }
1584
+ extend : {
1585
+ width : {
1586
+ '2px' : '2px' ,
1587
+ '3px' : '3px' ,
1588
+ }
1589
+ }
1582
1590
} ,
1583
- plugins : [
1584
- {
1585
- config : {
1586
- theme : {
1587
- extend : {
1588
- width : {
1589
- '2px' : '2px' ,
1590
- '3px' : '3px' ,
1591
- }
1592
- }
1593
- } ,
1594
- } ,
1595
- } ,
1596
- ] ,
1597
1591
} ,
1598
1592
handler ( ) { } ,
1599
1593
} ,
You can’t perform that action at this time.
0 commit comments