Sitelet https://github.com/VictorJSV/angular-testing-library/tags
Skip to content

Tags: VictorJSV/angular-testing-library

Tags

v11.0.4

Toggle v11.0.4's commit message

Verified

This commit was signed with the committer’s verified signature.
timdeschryver Tim Deschryver
fix: invoke initialNavigation if it's a method

In some tests we might mock the router instance, and don't provide the initial navigation

v11.0.3

Toggle v11.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: invoke initialNavigation when a router is imported (testing-libr…

…ary#286)

v11.0.2

Toggle v11.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: set compilationMode to partial (testing-library#273)

v11.0.1

Toggle v11.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: correct peer dependencies (testing-library#272)

v11.0.0

Toggle v11.0.0's commit message
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 {}
```

v11.0.0-beta.4

Toggle v11.0.0-beta.4's commit message
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 {}
```

v11.0.0-beta.3

Toggle v11.0.0-beta.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: remove RenderDirectiveOptions (testing-library#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,
  },
});
```

v11.0.0-beta.2

Toggle v11.0.0-beta.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add rerender method (testing-library#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({...})
```

v11.0.0-beta.1

Toggle v11.0.0-beta.1's commit message

Unverified

This user has not yet uploaded their public signing key.
ci: set up beta ci/cd

v10.11.1

Toggle v10.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: patch within queries to invoke a change detection cycle (testing…

…-library#259)