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.
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 themy-component.spec.jsfile, but that component only has a.firstNamein 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.