pad_utils: Factor out author token generation

This commit is contained in:
Richard Hansen 2022-02-28 19:20:55 -05:00
parent 4e1674ceaf
commit 8053875d45
4 changed files with 10 additions and 3 deletions

View file

@ -37,7 +37,7 @@ describe(__filename, function () {
roPadId = await readOnlyManager.getReadOnlyId(padId);
res = await agent.get(`/p/${roPadId}`).expect(200);
roSocket = await common.connect(res);
await common.handshake(roSocket, roPadId, `t.${common.randomString(8)}`);
await common.handshake(roSocket, roPadId);
});
afterEach(async function () {