mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 23:38:27 +00:00
perf(test): trim duplicate e2e suites and harden signal hooks
This commit is contained in:
@@ -403,7 +403,8 @@ describe("gateway server misc", () => {
|
||||
const plugins = updated.plugins as Record<string, unknown> | undefined;
|
||||
const entries = plugins?.entries as Record<string, unknown> | undefined;
|
||||
const discord = entries?.discord as Record<string, unknown> | undefined;
|
||||
expect(discord?.enabled).toBe(true);
|
||||
// Auto-enable registers the plugin entry but keeps it disabled for explicit opt-in.
|
||||
expect(discord?.enabled).toBe(false);
|
||||
expect((updated.channels as Record<string, unknown> | undefined)?.discord).toMatchObject({
|
||||
token: "token-123",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user