Skip to content

Commit 7f97d98

Browse files
committed
[colorManipulator] fix wrong tests
1 parent 8dd347a commit 7f97d98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/material-ui/src/styles/colorManipulator.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,19 @@ describe('utils/colorManipulator', () => {
105105
it('converts an rgba color string to an object with `type` and `value` keys', () => {
106106
const { type, values } = decomposeColor('rgba(255, 255, 255, 0.5)');
107107
expect(type).to.equal(type, 'rgba');
108-
expect(values).to.deep.equal(values, [255, 255, 255, 0.5]);
108+
expect(values).to.deep.equal([255, 255, 255, 0.5]);
109109
});
110110

111111
it('converts an hsl color string to an object with `type` and `value` keys', () => {
112112
const { type, values } = decomposeColor('hsl(100, 50%, 25%)');
113113
expect(type).to.equal(type, 'hsl');
114-
expect(values).to.deep.equal(values, [100, 50, 25]);
114+
expect(values).to.deep.equal([100, 50, 25]);
115115
});
116116

117117
it('converts an hsla color string to an object with `type` and `value` keys', () => {
118118
const { type, values } = decomposeColor('hsla(100, 50%, 25%, 0.5)');
119119
expect(type).to.equal(type, 'hsla');
120-
expect(values).to.deep.equal(values, [100, 50, 25, 0.5]);
120+
expect(values).to.deep.equal([100, 50, 25, 0.5]);
121121
});
122122

123123
it('idempotent', () => {

0 commit comments

Comments
 (0)