mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-04 23:03:07 +00:00
test: unskip tests
Now that the global state is not polluted anymore.
This commit is contained in:
parent
e5f51d7df1
commit
361f9895f0
@ -186,7 +186,7 @@ describe("Reliable Channel", () => {
|
||||
});
|
||||
|
||||
// TODO: https://github.com/waku-org/js-waku/issues/2648
|
||||
it.skip("Outgoing message is possibly acknowledged", async () => {
|
||||
it("Outgoing message is possibly acknowledged", async () => {
|
||||
const commonEventEmitter = new TypedEventEmitter<MockWakuEvents>();
|
||||
const mockWakuNodeAlice = new MockWakuNode(commonEventEmitter);
|
||||
const mockWakuNodeBob = new MockWakuNode(commonEventEmitter);
|
||||
|
||||
@ -187,8 +187,7 @@ describe("Reliable Channel: Encryption", () => {
|
||||
expect(messageAcknowledged).to.be.false;
|
||||
});
|
||||
|
||||
// TODO: https://github.com/waku-org/js-waku/issues/2648
|
||||
it.skip("Outgoing message is possibly acknowledged", async () => {
|
||||
it("Outgoing message is possibly acknowledged", async () => {
|
||||
const commonEventEmitter = new TypedEventEmitter<MockWakuEvents>();
|
||||
const mockWakuNodeAlice = new MockWakuNode(commonEventEmitter);
|
||||
const mockWakuNodeBob = new MockWakuNode(commonEventEmitter);
|
||||
|
||||
@ -185,8 +185,7 @@ describe("MessageChannel", function () {
|
||||
expect(timestampAfter).to.equal(timestampBefore + 1n);
|
||||
});
|
||||
|
||||
// TODO: test is failing in CI, investigate in https://github.com/waku-org/js-waku/issues/2648
|
||||
it.skip("should update lamport timestamp if greater than current timestamp and dependencies are met", async () => {
|
||||
it("should update lamport timestamp if greater than current timestamp and dependencies are met", async () => {
|
||||
const testChannelA = new MessageChannel(channelId, "alice");
|
||||
const testChannelB = new MessageChannel(channelId, "bob");
|
||||
|
||||
@ -207,8 +206,7 @@ describe("MessageChannel", function () {
|
||||
);
|
||||
});
|
||||
|
||||
// TODO: test is failing in CI, investigate in https://github.com/waku-org/js-waku/issues/2648
|
||||
it.skip("should maintain proper timestamps if all messages received", async () => {
|
||||
it("should maintain proper timestamps if all messages received", async () => {
|
||||
const aTimestampBefore = channelA["lamportTimestamp"];
|
||||
let timestamp = channelB["lamportTimestamp"];
|
||||
for (const m of messagesA) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user