diff --git a/mocks/websocket.js b/mocks/websocket.js
index 22e270c..93bd044 100644
--- a/mocks/websocket.js
+++ b/mocks/websocket.js
@@ -24,7 +24,7 @@ const roomInitData = [
`>botdevelopment
|raw|
You joined Bot Development
|raw|`,
-].map(text => text.trim().replaceAll(/\t+/g, ''));
+].map(text => text.trim().replace(/\t+/g, ''));
class Connection extends EventEmitter {
constructor(props) {