test('does not change the order of entries', () => {
    expect(utils.updateEntryWithId(
      [unrelatedEntry, oldEntry, unrelatedEntry],
      newEntry)[2].id,
    ).toEqual(unrelatedEntry.id)