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.
// In test setupbeforeEach(() => { resetEntityIdCounter();}); Copy
// In test setupbeforeEach(() => { 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.