-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)
Description
Notice the spec below has an assert. The pipe.transform
should not be using boolean, it should be using the type of value for the pipe. Or change the test.
import {
it,
describe,
expect,
inject,
beforeEachProviders
} from '@angular/core/testing';
import { SortSpeakersPipe } from './sort-speakers.pipe';
describe('SortSpeakers Pipe', () => {
beforeEachProviders(() => [SortSpeakersPipe]);
it('should transform the input', inject([SortSpeakersPipe], (pipe: SortSpeakersPipe) => {
expect(pipe.transform(true)).toBe(null);
}));
});
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)