debugFailNextStaticResourcesLoad static method

  1. @visibleForTesting
void debugFailNextStaticResourcesLoad(
  1. Object error
)

Forgets the loaded static resources and fails the next initializeStaticResources with error, for tests of a failed load.

Implementation

@visibleForTesting
static void debugFailNextStaticResourcesLoad(Object error) {
  _initializeStaticResources = null;
  _readyToRender = false;
  _debugNextLoadError = error;
}