Udpate cypress

This commit is contained in:
Jamie Curnow committed 2023-01-06 15:02:40 +10:00
1 parent 6efa4e2beb
commit e39f18b0d1
6 files changed
+32 -32

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
module.exports = {
generateRandomString: function (length) {
var result = '';
var characters = 'ABCDEFGHIJK LMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
var charactersLength = characters.length;
for (var i = 0; i < length; i++) {
result += characters.charAt(Math.floor(Math.random() * charactersLength));
}
return result;
},
};