Skip to content

Commit

Permalink
Expose new test selector APIs to FB testing build
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Apr 16, 2020
1 parent f8d9f39 commit 272b206
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
14 changes: 13 additions & 1 deletion packages/react-dom/testing.classic.fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,16 @@
*/

export * from './index.classic.fb.js';
export {act} from 'react-reconciler/src/ReactFiberReconciler';
export {
act,
createComponentSelector,
createHasPsuedoClassSelector,
createRoleSelector,
createTestNameSelector,
createTextSelector,
getFindAllNodesFailureDescription,
findAllNodes,
findBoundingRects,
focusWithin,
observeVisibleRects,
} from 'react-reconciler/src/ReactFiberReconciler';
14 changes: 13 additions & 1 deletion packages/react-dom/testing.modern.fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,16 @@
*/

export * from './index.modern.fb.js';
export {act} from 'react-reconciler/src/ReactFiberReconciler';
export {
act,
createComponentSelector,
createHasPsuedoClassSelector,
createRoleSelector,
createTestNameSelector,
createTextSelector,
getFindAllNodesFailureDescription,
findAllNodes,
findBoundingRects,
focusWithin,
observeVisibleRects,
} from 'react-reconciler/src/ReactFiberReconciler';

0 comments on commit 272b206

Please sign in to comment.