Advertisement
Guest User

Untitled

a guest
Oct 7th, 2018
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "use strict";
  2.  
  3. // Todo: write emails to JSON for reuse
  4.  
  5. const mailProvider = function(){
  6.     this.emails = [];
  7.  
  8.     this.getUniqueEmailAddress = () => {
  9.         //let email = "prioooprotractor+" + new Date().getTime() + "@gmail.com";
  10.         let email = "cedric.e.y.k@gmail.com";
  11.         emails.push(email);
  12.  
  13.         return email;
  14.     };
  15.  
  16.     //this.getRegisteredEmail = () => emails[Math.floor(Math.random * emails.length)];
  17.     this.getRegisteredEmail = ("cedric.e.y.k@gmail.com");
  18. };
  19.  
  20. module.exports = new mailProvider();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement