Skip to content

Testing Components > Manually handling lifecycle is not complete #443

@baerrach

Description

@baerrach

I'm submitting a bug report
https://aurelia.io/docs/testing/components#manually-handling-lifecycle

Current behavior:
The example for it('can manually handle lifecycle' is pasted within the my-component.spec.js file, but that component only has a .firstName in the view and not a .name, and the model has no lifecycle hooks that might rebind properties to append the lifecycle name into the view.

Expected/desired behavior:
I think this section needs to be rewritten and include the View/ViewModel specific for this example.

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