testingSetJSUtils function

  1. @visibleForTesting
void testingSetJSUtils(
  1. JSUtilsInterface utils
)

Override the js utils implementation.

This is meant for testing to fake the browser context for a mock context.

If you are replacing the JSUtils used then you may also want to change the setNativeBluetooth.

Implementation

@visibleForTesting
void testingSetJSUtils(final JSUtilsInterface utils) {
  _JSUtil = utils;
}