mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-24 22:18:38 +00:00
test(perf): trim slack, hook, and plugin-validation test overhead
This commit is contained in:
@@ -70,6 +70,14 @@ describe("config plugin validation", () => {
|
||||
process.env.OPENCLAW_STATE_DIR = path.join(suiteHome, ".openclaw");
|
||||
process.env.OPENCLAW_PLUGIN_MANIFEST_CACHE_MS = "10000";
|
||||
clearPluginManifestRegistryCache();
|
||||
// Warm the plugin manifest cache once so path-based validations can reuse
|
||||
// parsed manifests across test cases.
|
||||
validateInSuite({
|
||||
plugins: {
|
||||
enabled: false,
|
||||
load: { paths: [badPluginDir, bluebubblesPluginDir] },
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
|
||||
Reference in New Issue
Block a user