From 872fe2525964ee6a607083d4ec80febfed5bbde5 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sun, 13 Oct 2019 20:29:07 -0400 Subject: [PATCH] Fix test --- __tests__/resolveConfig.test.js | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/__tests__/resolveConfig.test.js b/__tests__/resolveConfig.test.js index 703f7857b..9fa7c0581 100644 --- a/__tests__/resolveConfig.test.js +++ b/__tests__/resolveConfig.test.js @@ -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() {}, },