Skip to content

Commit 66ea305

Browse files
committed
fix button test
1 parent d8fcfdf commit 66ea305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/button/__tests__/index.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ describe('Button', () => {
135135
expect(uut.getLabelColor()).toEqual(ThemeManager.CTADisabledColor);
136136
});
137137

138-
it('should return dark10 color if this is an icon button (without label)', () => {
138+
it('should return undefined color if this is an icon button (without label)', () => {
139139
const uut = new Button({iconSource: 12});
140-
expect(uut.getLabelColor()).toEqual(Colors.dark10);
140+
expect(uut.getLabelColor()).toEqual(undefined);
141141
});
142142
});
143143

0 commit comments

Comments
 (0)