Strata - v1.4.10
    Preparing search index...

    Function resetEntityIdCounter

    • Resets the entity ID counter. Useful for testing.

      Resets the internal counter to 0, so the next generated ID will be "entity_1". Only use this in test environments to ensure deterministic entity IDs.

      Returns void

      // In test setup
      beforeEach(() => {
      resetEntityIdCounter();
      });