diff --git a/cypress/utils/index.js b/cypress/utils/index.js index 71eadc97a..00d3054d3 100644 --- a/cypress/utils/index.js +++ b/cypress/utils/index.js @@ -20,6 +20,6 @@ * */ -const randHash = () => Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 10) +const randHash = () => Math.random().toString(36).replace(/[^a-z]+/g, '').slice(0, 10) export default { randHash }