- expect(Utils.hasOwnProp('test', '')).toBe(false);
- expect(Utils.hasOwnProp(undefined, '')).toBe(false);
- expect(Utils.hasOwnProp(null, '')).toBe(false);
- expect(Utils.hasOwnProp([], '')).toBe(false);
- expect(Utils.hasOwnProp({}, '')).toBe(false);
- expect(Utils.hasOwnProp({ 1: 1 }, 1)).toBe(true);
- expect(Utils.hasOwnProp({ 1: 1 }, '1')).toBe(true);
- expect(Utils.hasOwnProp({ 1: 1 }, 2)).toBe(false);
- expect(Utils.hasOwnProp({ 1: 1 }, '2')).toBe(false);
- expect(Utils.hasOwnProp({ '1': '1' }, '1')).toBe(true);
- expect(Utils.hasOwnProp({ '1': '1' }, 1)).toBe(true);
- expect(Utils.hasOwnProp({ '1': '1' }, '2')).toBe(false);
- expect(Utils.hasOwnProp({ '1': '1' }, 2)).toBe(false);
+ expect(hasOwnProp('test', '')).toBe(false);
+ expect(hasOwnProp(undefined, '')).toBe(false);
+ expect(hasOwnProp(null, '')).toBe(false);
+ expect(hasOwnProp([], '')).toBe(false);
+ expect(hasOwnProp({}, '')).toBe(false);
+ expect(hasOwnProp({ 1: 1 }, 1)).toBe(true);
+ expect(hasOwnProp({ 1: 1 }, '1')).toBe(true);
+ expect(hasOwnProp({ 1: 1 }, 2)).toBe(false);
+ expect(hasOwnProp({ 1: 1 }, '2')).toBe(false);
+ expect(hasOwnProp({ '1': '1' }, '1')).toBe(true);
+ expect(hasOwnProp({ '1': '1' }, 1)).toBe(true);
+ expect(hasOwnProp({ '1': '1' }, '2')).toBe(false);
+ expect(hasOwnProp({ '1': '1' }, 2)).toBe(false);