I have been attempting to configure Jasmine tests based on the official Angular 2 documentation found at https://angular.io/docs/ts/latest/guide/testing.html. However, I am facing issues with the Pipe Testing example provided in the documentation. When running the tests, only the specifications for Hero seem to be working and displaying results in the browser.
If I remove the Pipe annotation, the tests start functioning:
import { Pipe, PipeTransform } from '@angular/core';
//@Pipe({ name: 'my-uppercase' })
export class MyUppercasePipe implements PipeTransform {
transform(value: string) {
return value;
}
}
Can someone assist me in figuring out what additional steps need to be taken in order for the tests to work effectively with pipe annotations? The modified code post following the tutorial can be accessed here - https://github.com/rohans84/quickstart