Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Oct 14, 2019
1 parent 66ec10e commit 872fe25
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions __tests__/resolveConfig.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1572,28 +1572,22 @@ test('plugin configs take precedence over plugin configs registered by that plug

test('plugin theme extensions are added even if user overrides top-level theme config', () => {
const userConfig = {
theme: {
width: {
'1px': '1px'
}
},
plugins: [
{
config: {
theme: {
width: {
'1px': '1px'
}
extend: {
width: {
'2px': '2px',
'3px': '3px',
}
}
},
plugins: [
{
config: {
theme: {
extend: {
width: {
'2px': '2px',
'3px': '3px',
}
}
},
},
},
],
},
handler() {},
},
Expand Down

0 comments on commit 872fe25

Please sign in to comment.