.build(); mainController.getNode().getAllLocalTips(async (err, missingStates) => { expect(err).not.toEqual(expect.anything()); // This should match against null/undefined expect(missingStates.length).toBe(3); expect(missingStates[0].key).toBe(2);
.build(); mainController.getNode().getAllLocalTips(async (err, missingStates) => { expect(err).not.toEqual(expect.anything()); // This should match against null/undefined expect(missingStates.length).toBe(3); expect(missingStates[0].key).toBe(2);