Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 687a9fa

Browse files
Modified test case
1 parent 6d31561 commit 687a9fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng2-filter.pipe.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('Pipe: Default', () => {
2626
});
2727

2828
it('Filter the nested object', () => {
29-
const list = [{ a: 'e' }, { a: { b: 'd' , c: { b : 'd' }}}];
30-
expect(pipe.transform(list, 'd')).toEqual([{ a: { b: 'd', c: { b : 'd' }}}]);
29+
const list = [{ a: 'e' }, { a: { b: 'e' , c: { b : 'd' }}}];
30+
expect(pipe.transform(list, 'd')).toEqual([{ a: { b: 'e', c: { b : 'd' }}}]);
3131
});
3232
});

0 commit comments

Comments
 (0)