diff --git a/packages/babel-plugin/src/css-prop/__tests__/css-map.test.ts b/packages/babel-plugin/src/css-prop/__tests__/css-map.test.ts index 59dafda019..e42e2e3361 100644 --- a/packages/babel-plugin/src/css-prop/__tests__/css-map.test.ts +++ b/packages/babel-plugin/src/css-prop/__tests__/css-map.test.ts @@ -84,17 +84,15 @@ describe('css map behaviour', () => { }).toThrow(ErrorMessages.VARIANT_ACCESS); }); - it('does not support Expression as object property', () => { + it('does not support BinaryExpression as object property', () => { expect(() => { transform(` ${styles} -
; +
; `); }).toThrow(ErrorMessages.VARIANT_ACCESS); - }); - it('does not support BinaryExpression as object property', () => { expect(() => { transform(` ${styles}