From 7f97d98124073b1f9ad3298f4d0facf20ff209dd Mon Sep 17 00:00:00 2001 From: marcosvega91 Date: Mon, 27 Apr 2020 13:40:05 +0200 Subject: [PATCH] [colorManipulator] fix wrong tests --- packages/material-ui/src/styles/colorManipulator.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/material-ui/src/styles/colorManipulator.test.js b/packages/material-ui/src/styles/colorManipulator.test.js index 7dc8988988f087..9c46d06942dad1 100644 --- a/packages/material-ui/src/styles/colorManipulator.test.js +++ b/packages/material-ui/src/styles/colorManipulator.test.js @@ -105,19 +105,19 @@ describe('utils/colorManipulator', () => { it('converts an rgba color string to an object with `type` and `value` keys', () => { const { type, values } = decomposeColor('rgba(255, 255, 255, 0.5)'); expect(type).to.equal(type, 'rgba'); - expect(values).to.deep.equal(values, [255, 255, 255, 0.5]); + expect(values).to.deep.equal([255, 255, 255, 0.5]); }); it('converts an hsl color string to an object with `type` and `value` keys', () => { const { type, values } = decomposeColor('hsl(100, 50%, 25%)'); expect(type).to.equal(type, 'hsl'); - expect(values).to.deep.equal(values, [100, 50, 25]); + expect(values).to.deep.equal([100, 50, 25]); }); it('converts an hsla color string to an object with `type` and `value` keys', () => { const { type, values } = decomposeColor('hsla(100, 50%, 25%, 0.5)'); expect(type).to.equal(type, 'hsla'); - expect(values).to.deep.equal(values, [100, 50, 25, 0.5]); + expect(values).to.deep.equal([100, 50, 25, 0.5]); }); it('idempotent', () => {