Skip to content

Commit

Permalink
Fix test imports for text and truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Apr 28, 2021
1 parent 84673ca commit 47990c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/components/src/text/test/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { render } from '@testing-library/react';
/**
* Internal dependencies
*/
import { getFontSize } from '../../utils/font-size';
import { COLORS } from '../../../utils/colors-values';
import { Text } from '..';
import { getFontSize } from '../../ui/utils/font-size';
import { COLORS } from '../../utils';
import Text from '..';

describe( 'Text', () => {
describe( 'snapshot tests', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/truncate/test/truncate.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { render } from '@testing-library/react';
/**
* Internal dependencies
*/
import { Truncate } from '..';
import Truncate from '..';

describe( 'props', () => {
test( 'should render correctly', () => {
Expand Down

0 comments on commit 47990c0

Please sign in to comment.