· 7 years ago · Oct 07, 2018, 05:04 PM
1"use strict";
2
3// Todo: write emails to JSON for reuse
4
5const 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
20module.exports = new mailProvider();