mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 03:04:32 +00:00
test(core): use lightweight clears in command and dispatch setup
This commit is contained in:
@@ -53,8 +53,8 @@ function createFakeThreadBindingManager(binding: FakeBinding | null) {
|
||||
|
||||
describe("/session ttl", () => {
|
||||
beforeEach(() => {
|
||||
hoisted.getThreadBindingManagerMock.mockReset();
|
||||
hoisted.setThreadBindingTtlBySessionKeyMock.mockReset();
|
||||
hoisted.getThreadBindingManagerMock.mockClear();
|
||||
hoisted.setThreadBindingTtlBySessionKeyMock.mockClear();
|
||||
vi.useRealTimers();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user