diff --git a/gitnexus/src/core/lbug/conn-lock.ts b/gitnexus/src/core/lbug/conn-lock.ts index 3a92bb8cc..7948371bc 100644 --- a/gitnexus/src/core/lbug/conn-lock.ts +++ b/gitnexus/src/core/lbug/conn-lock.ts @@ -61,6 +61,6 @@ export const withConnLock = async (fn: () => Promise): Promise => { * * @internal */ -export const __resetConnLockForTests = (): void => { +export const _resetConnLockForTests = (): void => { tail = Promise.resolve(); }; diff --git a/gitnexus/test/unit/conn-lock.test.ts b/gitnexus/test/unit/conn-lock.test.ts index 699160b94..f3d2e588b 100644 --- a/gitnexus/test/unit/conn-lock.test.ts +++ b/gitnexus/test/unit/conn-lock.test.ts @@ -10,10 +10,10 @@ * the property that makes the otherwise-crashing overlap safe. */ import { afterEach, describe, expect, it } from 'vitest'; -import { withConnLock, __resetConnLockForTests } from '../../src/core/lbug/conn-lock.js'; +import { withConnLock, _resetConnLockForTests } from '../../src/core/lbug/conn-lock.js'; afterEach(() => { - __resetConnLockForTests(); + _resetConnLockForTests(); }); describe('withConnLock — connection serialization', () => {