@krishna1 Hi, Can you please refer this doc and see if it works?
If looks like “NativeModules.OktaSdkBridge” should work
const mockGetIdToken = require('react-native').NativeModules.OktaSdkBridge.getIdToken;
mockGetIdToken.mockImplementationOnce(() => {
Did you import {createConfig}?