blob: 072baa04b256e40773d945d3b0a08ec0802a7111 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { UpperFirstPipe } from './upper-first.pipe';
describe('UpperFirstPipe', () => {
const pipe = new UpperFirstPipe();
it('create an instance', () => {
expect(pipe).toBeTruthy();
});
it('transforms "foo"', () => {
expect(pipe.transform('foo')).toEqual('Foo');
});
it('transforms "BAR"', () => {
expect(pipe.transform('BAR')).toEqual('BAR');
});
});
|