Skip to content

Commit

Permalink
Fix import in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Apr 12, 2021
1 parent 884e31b commit b53c5e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/src/ui/styles/test/scales.js
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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 );
}
Expand All @@ -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 );
}
Expand Down

0 comments on commit b53c5e5

Please sign in to comment.