Skip to content

Commit

Permalink
Refactor(web-react): Use @local/tests path alias in tests
Browse files Browse the repository at this point in the history
refs #DS-1612
  • Loading branch information
literat committed Jan 4, 2025
1 parent eaa561a commit a7f4e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/web-react/src/components/Box/__tests__/Box.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import '@testing-library/jest-dom';
import { render, screen } from '@testing-library/react';
import React from 'react';
import { restPropsTest } from '../../../../tests/providerTests/restPropsTest';
import { stylePropsTest } from '../../../../tests/providerTests/stylePropsTest';
import { restPropsTest, stylePropsTest } from '@local/tests';
import Box from '../Box';

const dataProvider = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import '@testing-library/jest-dom';
import { render, screen } from '@testing-library/react';
import React from 'react';
import { restPropsTest } from '../../../../tests/providerTests/restPropsTest';
import { stylePropsTest } from '../../../../tests/providerTests/stylePropsTest';
import { restPropsTest, stylePropsTest } from '@local/tests';
import UNSTABLE_UncontrolledSlider from '../UNSTABLE_UncontrolledSlider';

describe('UNSTABLE_Slider', () => {
Expand Down

0 comments on commit a7f4e8c

Please sign in to comment.