-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Simplify Exports from
matchers.js
This makes the code easier to maintain as more exports are added.
- Loading branch information
1 parent
55dff99
commit 4b54098
Showing
1 changed file
with
25 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,25 @@ | ||
import {toBeInTheDOM} from './to-be-in-the-dom' | ||
import {toBeInTheDocument} from './to-be-in-the-document' | ||
import {toBeEmpty} from './to-be-empty' | ||
import {toBeEmptyDOMElement} from './to-be-empty-dom-element' | ||
import {toContainElement} from './to-contain-element' | ||
import {toContainHTML} from './to-contain-html' | ||
import {toHaveTextContent} from './to-have-text-content' | ||
import {toHaveAccessibleDescription} from './to-have-accessible-description' | ||
import {toHaveAccessibleErrorMessage} from './to-have-accessible-errormessage' | ||
import {toHaveAccessibleName} from './to-have-accessible-name' | ||
import {toHaveAttribute} from './to-have-attribute' | ||
import {toHaveClass} from './to-have-class' | ||
import {toHaveStyle} from './to-have-style' | ||
import {toHaveFocus} from './to-have-focus' | ||
import {toHaveFormValues} from './to-have-form-values' | ||
import {toBeVisible} from './to-be-visible' | ||
import {toBeDisabled, toBeEnabled} from './to-be-disabled' | ||
import {toBeRequired} from './to-be-required' | ||
import {toBeInvalid, toBeValid} from './to-be-invalid' | ||
import {toHaveValue} from './to-have-value' | ||
import {toHaveDisplayValue} from './to-have-display-value' | ||
import {toBeChecked} from './to-be-checked' | ||
import {toBePartiallyChecked} from './to-be-partially-checked' | ||
import {toHaveDescription} from './to-have-description' | ||
import {toHaveErrorMessage} from './to-have-errormessage' | ||
|
||
export { | ||
toBeInTheDOM, | ||
toBeInTheDocument, | ||
toBeEmpty, | ||
toBeEmptyDOMElement, | ||
toContainElement, | ||
toContainHTML, | ||
toHaveTextContent, | ||
toHaveAccessibleDescription, | ||
toHaveAccessibleErrorMessage, | ||
toHaveAccessibleName, | ||
toHaveAttribute, | ||
toHaveClass, | ||
toHaveStyle, | ||
toHaveFocus, | ||
toHaveFormValues, | ||
toBeVisible, | ||
toBeDisabled, | ||
toBeEnabled, | ||
toBeRequired, | ||
toBeInvalid, | ||
toBeValid, | ||
toHaveValue, | ||
toHaveDisplayValue, | ||
toBeChecked, | ||
toBePartiallyChecked, | ||
toHaveDescription, | ||
toHaveErrorMessage, | ||
} | ||
export {toBeInTheDOM} from './to-be-in-the-dom' | ||
export {toBeInTheDocument} from './to-be-in-the-document' | ||
export {toBeEmpty} from './to-be-empty' | ||
export {toBeEmptyDOMElement} from './to-be-empty-dom-element' | ||
export {toContainElement} from './to-contain-element' | ||
export {toContainHTML} from './to-contain-html' | ||
export {toHaveTextContent} from './to-have-text-content' | ||
export {toHaveAccessibleDescription} from './to-have-accessible-description' | ||
export {toHaveAccessibleErrorMessage} from './to-have-accessible-errormessage' | ||
export {toHaveAccessibleName} from './to-have-accessible-name' | ||
export {toHaveAttribute} from './to-have-attribute' | ||
export {toHaveClass} from './to-have-class' | ||
export {toHaveStyle} from './to-have-style' | ||
export {toHaveFocus} from './to-have-focus' | ||
export {toHaveFormValues} from './to-have-form-values' | ||
export {toBeVisible} from './to-be-visible' | ||
export {toBeDisabled, toBeEnabled} from './to-be-disabled' | ||
export {toBeRequired} from './to-be-required' | ||
export {toBeInvalid, toBeValid} from './to-be-invalid' | ||
export {toHaveValue} from './to-have-value' | ||
export {toHaveDisplayValue} from './to-have-display-value' | ||
export {toBeChecked} from './to-be-checked' | ||
export {toBePartiallyChecked} from './to-be-partially-checked' | ||
export {toHaveDescription} from './to-have-description' | ||
export {toHaveErrorMessage} from './to-have-errormessage' |