1 parent 66ec10e commit 872fe25Copy full SHA for 872fe25
1 file changed
__tests__/resolveConfig.test.js
@@ -1572,28 +1572,22 @@ test('plugin configs take precedence over plugin configs registered by that plug
1572
1573
test('plugin theme extensions are added even if user overrides top-level theme config', () => {
1574
const userConfig = {
1575
+ theme: {
1576
+ width: {
1577
+ '1px': '1px'
1578
+ }
1579
+ },
1580
plugins: [
1581
{
1582
config: {
1583
theme: {
- width: {
- '1px': '1px'
- }
1584
+ extend: {
1585
1586
+ '2px': '2px',
1587
+ '3px': '3px',
1588
1589
1590
},
- plugins: [
- {
- config: {
- theme: {
- extend: {
- '2px': '2px',
- '3px': '3px',
1591
1592
1593
- },
1594
1595
1596
- ],
1597
1598
handler() {},
1599
0 commit comments