Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Romain Gaillard
Added: Sep 30, 2021 8:52 AM
Views: 505
Tags: mock referrer
  1.     jest.spyOn(global.document, 'referrer', 'get').mockReturnValue('https://www.amazon.fr');
  2.