Build a fake IMetadataProvider for DOM specs of data-bound components — the ones
that read data through the @Input() Provider / ProviderToUse pattern. Pass it via
the component's Provider input; its RunView returns your canned rows, and because
RunView.FromMetadataProvider(provider) delegates to the provider, calls like
RunView.FromMetadataProvider(this.ProviderToUse).RunView(...) resolve to that data —
no backend, no vi.mock of @memberjunction/core.
Build a fake
IMetadataProviderfor DOM specs of data-bound components — the ones that read data through the@Input() Provider/ProviderToUsepattern. Pass it via the component'sProviderinput; itsRunViewreturns your canned rows, and becauseRunView.FromMetadataProvider(provider)delegates to the provider, calls likeRunView.FromMetadataProvider(this.ProviderToUse).RunView(...)resolve to that data — no backend, novi.mockof@memberjunction/core.