build(aio): fix broken doc-gen unit test (#24000)

PR Close #24000
This commit is contained in:
Pete Bacon Darwin 2018-05-23 21:56:10 +01:00 committed by Miško Hevery
parent 2b15108f7e
commit 8a4c577917
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ describe('hasValues filter', () => {
it('should return true if the specified property is truthy on any item in the list', function() { it('should return true if the specified property is truthy on any item in the list', function() {
expect(filter.process([], 'a')).toEqual(false); expect(filter.process([], 'a')).toEqual(false);
expect(filter.process(0), 'a').toEqual(false); expect(filter.process(0, 'a')).toEqual(false);
expect(filter.process({}, 'a')).toEqual(false); expect(filter.process({}, 'a')).toEqual(false);
expect(filter.process([{a: 1}], 'a')).toEqual(true); expect(filter.process([{a: 1}], 'a')).toEqual(true);
expect(filter.process([{b: 2}], 'a')).toEqual(false); expect(filter.process([{b: 2}], 'a')).toEqual(false);