Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: testing-library/angular-testing-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5b4270c
Choose a base ref
...
head repository: testing-library/angular-testing-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0e5e3c7
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Nov 24, 2021

  1. feat: add rerender method (#257)

    BREAKING CHANGE:
    
    `rerender` has been renamed to `change`.
    The `change` method keeps the current fixture intact and invokes `ngOnChanges`.
    
    The new `rerender` method destroys the current component and creates a new instance with the updated properties.
    
    BEFORE:
    
    ```ts
    const { rerender } = render(...)
    rerender({...})
    ```
    
    AFTER:
    
    ```ts
    const { change } = render(...)
    change({...})
    ```
    timdeschryver authored Nov 24, 2021
    Configuration menu
    Copy the full SHA
    0e5e3c7 View commit details
    Browse the repository at this point in the history
Loading