mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 23:55:12 -04:00
Fixed frontend test.
This commit is contained in:
parent
157cad786c
commit
328ef25bc0
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ describe('Messages in the COLLABROOM', function () {
|
||||||
// User 1 starts sending a change to the server.
|
// User 1 starts sending a change to the server.
|
||||||
let sendStarted;
|
let sendStarted;
|
||||||
const finishSend = (() => {
|
const finishSend = (() => {
|
||||||
const socketJsonObj = helper.padChrome$.window.pad.socket.json;
|
const socketJsonObj = helper.padChrome$.window.pad.socket;
|
||||||
const sendBackup = socketJsonObj.send;
|
const sendBackup = socketJsonObj.emit;
|
||||||
let startSend;
|
let startSend;
|
||||||
sendStarted = new Promise((resolve) => { startSend = resolve; });
|
sendStarted = new Promise((resolve) => { startSend = resolve; });
|
||||||
let finishSend;
|
let finishSend;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue