From b53c5e51fdb0db517f71eb80740cf698db344b5b Mon Sep 17 00:00:00 2001 From: sarayourfriend Date: Mon, 12 Apr 2021 06:54:01 -0700 Subject: [PATCH] Fix import in test --- packages/components/src/ui/styles/test/scales.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/ui/styles/test/scales.js b/packages/components/src/ui/styles/test/scales.js index 1446f45ceb5441..05954f9babee20 100644 --- a/packages/components/src/ui/styles/test/scales.js +++ b/packages/components/src/ui/styles/test/scales.js @@ -1,11 +1,11 @@ /** * Internal dependencies */ -import { space } from '..'; +import { ui } from '..'; import { getScaleStyles } from '../css'; describe( 'scales', () => { - test( 'should transform space values', () => { + test( 'should transform ui.space values', () => { const numberValues = { gridGap: 4, gridColumnGap: 4, @@ -21,7 +21,7 @@ describe( 'scales', () => { const result = {}; assert[ key ] = value; - result[ key ] = space( value ); + result[ key ] = ui.space( value ); expect( getScaleStyles( assert ) ).toEqual( result ); } @@ -41,7 +41,7 @@ describe( 'scales', () => { const result = {}; assert[ key ] = value; - result[ key ] = space( value ); + result[ key ] = ui.space( value ); expect( getScaleStyles( assert ) ).toEqual( result ); }