Skip to content

Commit

Permalink
chore(toolkit/testing): remove deprecated ObserveCaptor#resetValues
Browse files Browse the repository at this point in the history
… method

BREAKING CHANGE: `ObserveCaptor#resetValues` was deprecated and has been removed; use `ObserveCaptor#reset` instead.
  • Loading branch information
Marcarrian authored and danielwiehl committed Nov 15, 2023
1 parent 6c84329 commit 10253e6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions projects/scion/toolkit/testing/src/observe-captor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,6 @@ export class ObserveCaptor<T = any, R = T> implements Observer<T> {
return this._state === 'errored';
}

/**
* Resets captured values. The emit counter is not reset.
*
* @deprecated since version 11.0.0-beta.10. Use {@link reset} instead.
*/
public resetValues(): void {
this._values = [];
}

/**
* Resets this captor.
*
Expand Down

0 comments on commit 10253e6

Please sign in to comment.