describe( 'statsPublicize()', () => { test( 'should return an empty array if not data is passed', () => { expect( normalizers.statsPublicize() ).toEqual( [] ); } ); expect( normalizers.statsPublicize( { bad: [] } ) ).toEqual( [] ); } ); normalizers.statsPublicize( { services: [