Skip to content

Give the ability to reset the last config #71

@rochejul

Description

@rochejul

The TestWireAdapterTemplate exposes a getLastConfig method but no way to reset it.

So for some tests where we want to ensure the wire was not called for some functional reasons, we should add them as first tests into the test file and ensure the wire is not called first on another file.

Ideally we should be able to give an easy way to reset any last config (classic, Lds, Apex) without hacking the internal implementation (we could set to null the static field _lastConfig but it means we know the internal implementation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions