Skip to content

Commit c56b56d

Browse files
committed
Fix code style
1 parent 4754d22 commit c56b56d

File tree

1 file changed

+8
-32
lines changed

1 file changed

+8
-32
lines changed

__tests__/resolveConfig.test.js

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -661,10 +661,8 @@ test('theme values in the extend section are not deeply merged', () => {
661661
theme: {
662662
extend: {
663663
fonts: {
664-
sans: [
665-
'Comic Sans',
666-
],
667-
}
664+
sans: ['Comic Sans'],
665+
},
668666
},
669667
},
670668
}
@@ -675,21 +673,9 @@ test('theme values in the extend section are not deeply merged', () => {
675673
separator: ':',
676674
theme: {
677675
fonts: {
678-
sans: [
679-
'system-ui',
680-
'Helvetica Neue',
681-
'sans-serif',
682-
],
683-
serif: [
684-
'Constantia',
685-
'Georgia',
686-
'serif',
687-
],
688-
mono: [
689-
'Menlo',
690-
'Courier New',
691-
'monospace',
692-
],
676+
sans: ['system-ui', 'Helvetica Neue', 'sans-serif'],
677+
serif: ['Constantia', 'Georgia', 'serif'],
678+
mono: ['Menlo', 'Courier New', 'monospace'],
693679
},
694680
},
695681
variants: {
@@ -705,19 +691,9 @@ test('theme values in the extend section are not deeply merged', () => {
705691
separator: ':',
706692
theme: {
707693
fonts: {
708-
sans: [
709-
'Comic Sans',
710-
],
711-
serif: [
712-
'Constantia',
713-
'Georgia',
714-
'serif',
715-
],
716-
mono: [
717-
'Menlo',
718-
'Courier New',
719-
'monospace',
720-
],
694+
sans: ['Comic Sans'],
695+
serif: ['Constantia', 'Georgia', 'serif'],
696+
mono: ['Menlo', 'Courier New', 'monospace'],
721697
},
722698
},
723699
variants: {

0 commit comments

Comments
 (0)