diff --git a/test/test-utils.js b/test/test-utils.js index 4bb333898b..0f0d58a31f 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -24,7 +24,7 @@ async function setUpTestConnection() { // Generate some unique string with a given prefix using the alice nonce. function generateUniqueString(prefix) { - return prefix + Date.now() + Math.round(Math.random() * 1000); + return `${prefix}-${Date.now()}-${Math.round(Math.random() * 1000000)}`; } async function createAccount(near) {