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: v10.11.1
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: v11.0.0
Choose a head ref
  • 9 commits
  • 57 files changed
  • 4 contributors

Commits on Nov 23, 2021

  1. Configuration menu
    Copy the full SHA
    bdd1bc4 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Configuration menu
    Copy the full SHA
    58d832b View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. chore: update nx and angular 13 (#260)

    BREAKING CHANGE:
    
    This version requires the following versions:
    
    - Angular v13
    the-ult authored and timdeschryver committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    eddd686 View commit details
    Browse the repository at this point in the history
  2. ci: set up beta ci/cd

    timdeschryver committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    2338f85 View commit details
    Browse the repository at this point in the history
  3. 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 committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    cd17373 View commit details
    Browse the repository at this point in the history
  4. docs: add selector with attribute example (#264)

    Closes #263
    mleimer authored and timdeschryver committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    eb06c83 View commit details
    Browse the repository at this point in the history
  5. feat: remove RenderDirectiveOptions (#265)

    BREAKING CHANGE:
    
    The template property is removed from the render options.
    Instead, you can pass it as the first argument of `render.
    
    BEFORE:
    
    ```ts
    await render(InputOutputComponent, {
      // 👇 this is deprecated
      template: '<app-fixture [value]="47" (sendValue)="sendValue($event)" (clicked)="clicked()"></app-fixture>',
      componentProperties: {
        sendValue: sendSpy,
      },
    });
    ```
    
    AFTER:
    
    ```ts
    //           👇 Move the template in the first argument
    await render('<app-fixture [value]="47" (sendValue)="sendValue($event)" (clicked)="clicked()"></app-fixture>', {
    //               👇 Add the component to declarations
      declarations: [InputOutputComponent],
      componentProperties: {
        sendValue: sendSpy,
      },
    });
    ```
    timdeschryver committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    3076885 View commit details
    Browse the repository at this point in the history
  6. fix: query params with same keys are added to the collection

    BREAKING CHANGE:
    
    Query params on a router link with the same key are no longer overwriting the last value.
    Instead they are added to an array.
    timdeschryver committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    82e037e View commit details
    Browse the repository at this point in the history
  7. fix: wrapper component selector is appended with atl-

    BEFORE:
    
    Wrapper component had `wrapper-component` as selector
    
    ```ts
    @component({ selector: 'wrapper-component', template: '' })
    class WrapperComponent {}
    ```
    
    AFTER:
    
    Wrapper component has `atl-wrapper-component` as selector
    
    ```ts
    @component({ selector: 'atl-wrapper-component', template: '' })
    class WrapperComponent {}
    ```
    timdeschryver committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    6ea2e7f View commit details
    Browse the repository at this point in the history
Loading