react-native-yamap icon indicating copy to clipboard operation
react-native-yamap copied to clipboard

Jest mock

Open sokolovdm opened this issue 2 years ago • 0 comments

How to solve this error?

 ● Test suite failed to run

    TypeError: Cannot read property 'init' of undefined

       8 | import { Button } from '@/shared/ui/buttons'
       9 |
    > 10 | YaMap.init('-').then()
         |       ^

sokolovdm avatar Sep 21 '23 15:09 sokolovdm