-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests(mixed): remove usage of
meta.props
(#1239)
* tests(mixed): remove usage of `meta.props` * tests(mixed): fix lint issues * tests(mixed): some fixes * fix(Grid): fix test * fix(Button): update ButtonGroup's test * fix(tests): add default props
- Loading branch information
1 parent
07f9ab1
commit f69fb34
Showing
27 changed files
with
142 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
import FormGroup from 'src/collections/Form/FormGroup' | ||
import { SUI } from 'src/lib' | ||
import * as common from 'test/specs/commonTests' | ||
|
||
describe('FormGroup', () => { | ||
common.isConformant(FormGroup) | ||
common.rendersChildren(FormGroup) | ||
|
||
common.implementsWidthProp(FormGroup, SUI.WIDTHS, { | ||
canEqual: true, | ||
propKey: 'widths', | ||
}) | ||
|
||
common.propKeyOnlyToClassName(FormGroup, 'grouped') | ||
common.propKeyOnlyToClassName(FormGroup, 'inline') | ||
common.implementsWidthProp(FormGroup, { propKey: 'widths', canEqual: true }) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.