Skip to content

Commit 76e0d42

Browse files
committed
chore: Use String#replace instead of String#replaceAll in tests
1 parent 768d2c3 commit 76e0d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mocks/websocket.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const roomInitData = [
2424
`>botdevelopment
2525
|raw|<div class="infobox"> You joined Bot Development</div>
2626
|raw|<div class="infobox infobox-roomintro"><div class="infobox-limited">Roomintro</div></div>`,
27-
].map(text => text.trim().replaceAll(/\t+/g, ''));
27+
].map(text => text.trim().replace(/\t+/g, ''));
2828

2929
class Connection extends EventEmitter {
3030
constructor(props) {

0 commit comments

Comments
 (0)