it('should keep "hidden" value when changes to false', () => {
      visibility.isHidden = true;
      jest.spyOn(document, 'hidden', 'get').mockReturnValue(false);
      didVisibilityChange(() => {});
      expect(visibility.isHidden).toEqual(true);