diff --git a/utils/ECC/ECC.spec.js b/utils/ECC/ECC.spec.js index 7252e7c0..a6a7a71b 100644 --- a/utils/ECC/ECC.spec.js +++ b/utils/ECC/ECC.spec.js @@ -15,7 +15,10 @@ const { isAuthorizedDevice } = require('./ECC') -const uuid = () => words({ exactly: 24 }).join('-') +const uuid = () => { + const arr = /** @type {string[]} */ (words({ exactly: 24 })) + return arr.join('-') +} const storageDirectory = Path.resolve(__dirname, `./.test-storage`)