Skip to content

Commit

Permalink
prefre public API for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 13, 2021
1 parent 85065e6 commit 350b46f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions packages/material-ui/src/FormLabel/FormLabel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import * as React from 'react';
import PropTypes from 'prop-types';
import { expect } from 'chai';
import { createMount, describeConformanceV5, act, createClientRender } from 'test/utils';
import FormLabel from './FormLabel';
import FormControl, { useFormControl } from '../FormControl';
import classes from './formLabelClasses';
import FormLabel, { formLabelClasses as classes } from '@material-ui/core/FormLabel';
import FormControl, { useFormControl } from '@material-ui/core/FormControl';

describe('<FormLabel />', () => {
const mount = createMount();
Expand Down
9 changes: 4 additions & 5 deletions packages/material-ui/src/InputLabel/InputLabel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import * as React from 'react';
import PropTypes from 'prop-types';
import { expect } from 'chai';
import { createMount, describeConformanceV5, act, createClientRender } from 'test/utils';
import FormControl from '../FormControl';
import Input from '../Input';
import InputLabel from './InputLabel';
import FormLabel from '../FormLabel';
import classes from './inputLabelClasses';
import FormControl from '@material-ui/core/FormControl';
import Input from '@material-ui/core/Input';
import FormLabel from '@material-ui/core/FormLabel';
import InputLabel, { inputLabelClasses as classes } from '@material-ui/core/InputLabel';

describe('<InputLabel />', () => {
const mount = createMount();
Expand Down

0 comments on commit 350b46f

Please sign in to comment.