ep_comments_page 0.1.94 → 0.1.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -124,7 +124,7 @@ describe(__filename, function () {
|
|
|
124
124
|
for (const {desc, opcode, attribs} of testCases) {
|
|
125
125
|
it(desc, async function () {
|
|
126
126
|
const head = pad.head;
|
|
127
|
-
await common.sendUserChanges(socket, makeUserChanges(opcode, attribs));
|
|
127
|
+
await assert.rejects(common.sendUserChanges(socket, makeUserChanges(opcode, attribs)));
|
|
128
128
|
// common.sendUserChanges() waits for message ack, so if the message was accepted then head
|
|
129
129
|
// should have already incremented by the time we get here.
|
|
130
130
|
assert.equal(pad.head, head);
|