Hi, I've used the code and in test cases, it shows me the below error.
`node_modules/react-native-bluetooth-status/index.js: Unexpected token (15:14)
13 | const BT_STATUS_EVENT = "bluetoothStatus";
14 | class BluetoothManager {
> 15 | subscription: mixed;
| ^
16 | inited: boolean;
17 | bluetoothState:
18 | | "unknown"
`
Any idea how to mock/avoid library import in jest ?
Hi, I've used the code and in test cases, it shows me the below error.
`node_modules/react-native-bluetooth-status/index.js: Unexpected token (15:14)
`
Any idea how to mock/avoid library import in jest ?