Skip to content

Commit

Permalink
Update mocks to work when testing for the new arch (#2801)
Browse files Browse the repository at this point in the history
## Description

Mock for the `install` method was missing, this PR adds it.
  • Loading branch information
j-piasecki authored Mar 12, 2024
1 parent ee4f11b commit 489f6c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const createGestureHandler = NOOP;
const dropGestureHandler = NOOP;
const updateGestureHandler = NOOP;
const flushOperations = NOOP;
const install = NOOP;
const NativeViewGestureHandler = View;
const TapGestureHandler = View;
const ForceTouchGestureHandler = View;
Expand Down Expand Up @@ -61,6 +62,7 @@ export default {
dropGestureHandler,
updateGestureHandler,
flushOperations,
install,
// probably can be removed
Directions,
State,
Expand Down

0 comments on commit 489f6c2

Please sign in to comment.