test different keys do work still

This commit is contained in:
Bruno Windels 2021-06-24 13:29:13 +02:00
parent 7557e2f437
commit b148368d5b

View file

@ -437,8 +437,10 @@ export function tests() {
assert.equal(queue.pendingEvents.length, 0);
await queue.enqueueEvent("m.reaction", createAnnotation("!target", "🚀"), null, new NullLogItem());
assert.equal(queue.pendingEvents.length, 1);
await queue.enqueueEvent("m.reaction", createAnnotation("!target", "👋"), null, new NullLogItem());
assert.equal(queue.pendingEvents.length, 2);
await queue.enqueueEvent("m.reaction", createAnnotation("!target", "🚀"), null, new NullLogItem());
assert.equal(queue.pendingEvents.length, 1);
assert.equal(queue.pendingEvents.length, 2);
},
}