mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 07:37:11 -04:00
Fixed.
This commit is contained in:
parent
648ecfa2e2
commit
44c26f9696
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ describe('Messages in the COLLABROOM', function () {
|
|||
sendStarted = new Promise((resolve) => { startSend = resolve; });
|
||||
let finishSend;
|
||||
const sendP = new Promise((resolve) => { finishSend = resolve; });
|
||||
socketJsonObj.emit = (...args) => {
|
||||
socketJsonObj.send = (...args) => {
|
||||
startSend();
|
||||
sendP.then(() => {
|
||||
socketJsonObj.emit = sendBackup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue