mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
refactor: canonicalize aliases and classify test suites (#122407)
* refactor: use canonical re-export names * fix(test): classify suite support as test source * fix(agents): retarget gateway stub session-entry import * test(gateway): retarget session-utils mock keys after alias removal
This commit is contained in:
committed by
GitHub
parent
6b0be0215f
commit
f6fff4f7fd
@@ -15,7 +15,7 @@ import { READ_SCOPE } from "../../../../src/gateway/method-scopes.js";
|
||||
import { clearModelAuthStatusUsageCache } from "../../../../src/gateway/server-methods/models-auth-status-usage-cache.js";
|
||||
import { testApi as usageTestApi } from "../../../../src/gateway/server-methods/usage.js";
|
||||
import { startGatewayServer } from "../../../../src/gateway/server.js";
|
||||
import { loadSessionEntryReadOnly } from "../../../../src/gateway/session-utils.js";
|
||||
import { loadGatewaySessionEntryReadOnly } from "../../../../src/gateway/session-utils.js";
|
||||
import {
|
||||
connectGatewayClient,
|
||||
disconnectGatewayClient,
|
||||
@@ -204,7 +204,7 @@ describe("gateway usage and memory APIs", () => {
|
||||
sessionId: FIXTURE_SESSION_ID,
|
||||
storePath: databasePath,
|
||||
});
|
||||
const storedSession = loadSessionEntryReadOnly(FIXTURE_SESSION_KEY);
|
||||
const storedSession = loadGatewaySessionEntryReadOnly(FIXTURE_SESSION_KEY);
|
||||
expect(storedSession).toMatchObject({
|
||||
entry: {
|
||||
sessionId: FIXTURE_SESSION_ID,
|
||||
|
||||
Reference in New Issue
Block a user