Skip to content

Commit e815954

Browse files
fix: add toBeOnTheScreen to exports (#140)
1 parent 49c3bbd commit e815954

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

src/extend-expect.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
import { toBeDisabled, toBeEnabled } from './to-be-disabled';
22
import { toBeEmptyElement, toBeEmpty } from './to-be-empty-element';
33
import { toBeOnTheScreen } from './to-be-on-the-screen';
4+
import { toBeVisible } from './to-be-visible';
45
import { toContainElement } from './to-contain-element';
6+
import { toHaveAccessibilityState } from './to-have-accessibility-state';
7+
import { toHaveAccessibilityValue } from './to-have-accessibility-value';
58
import { toHaveProp } from './to-have-prop';
69
import { toHaveStyle } from './to-have-style';
710
import { toHaveTextContent } from './to-have-text-content';
8-
import { toBeVisible } from './to-be-visible';
9-
import { toHaveAccessibilityState } from './to-have-accessibility-state';
10-
import { toHaveAccessibilityValue } from './to-have-accessibility-value';
1111

1212
expect.extend({
1313
toBeDisabled,
1414
toBeEnabled,
1515
toBeEmptyElement,
1616
toBeEmpty, // Deprecated
1717
toBeOnTheScreen,
18+
toBeVisible,
1819
toContainElement,
20+
toHaveAccessibilityState,
21+
toHaveAccessibilityValue,
1922
toHaveProp,
2023
toHaveStyle,
2124
toHaveTextContent,
22-
toBeVisible,
23-
toHaveAccessibilityState,
24-
toHaveAccessibilityValue,
2525
});

src/index.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
export * from './to-be-disabled';
2-
export * from './to-be-empty-element';
3-
export * from './to-be-visible';
4-
export * from './to-contain-element';
5-
export * from './to-have-accessibility-state';
6-
export * from './to-have-accessibility-value';
7-
export * from './to-have-prop';
8-
export * from './to-have-style';
9-
export * from './to-have-text-content';
1+
export { toBeDisabled, toBeEnabled } from './to-be-disabled';
2+
export { toBeEmptyElement, toBeEmpty } from './to-be-empty-element';
3+
export { toBeOnTheScreen } from './to-be-on-the-screen';
4+
export { toBeVisible } from './to-be-visible';
5+
export { toContainElement } from './to-contain-element';
6+
export { toHaveAccessibilityState } from './to-have-accessibility-state';
7+
export { toHaveAccessibilityValue } from './to-have-accessibility-value';
8+
export { toHaveProp } from './to-have-prop';
9+
export { toHaveStyle } from './to-have-style';
10+
export { toHaveTextContent } from './to-have-text-content';

0 commit comments

Comments
 (0)