Pipes

testing-pipes

Pipes have only one method, transform, that manipulates the input value into a transformed output value.

transform implementation rarely interacts with the DOM and most pipes have no dependencies other than the Angular @Pipe metada and interface.

An example of testing could be.

Last updated