Files
openclaw/src/plugins/web-content-extractors.runtime.test.ts
Vincent Koc 86099ec62a refactor(web-fetch): move readability extraction to plugin
* refactor(web-fetch): move readability extraction to plugin

* fix(web-fetch): cache extractor resolution by config

* fix(test): remove redundant stat assertions
2026-04-24 13:34:37 -07:00

17 lines
426 B
TypeScript

import { describe, expect, it } from "vitest";
import { resolvePluginWebContentExtractors } from "./web-content-extractors.runtime.js";
describe("resolvePluginWebContentExtractors", () => {
it("respects global plugin disablement", () => {
expect(
resolvePluginWebContentExtractors({
config: {
plugins: {
enabled: false,
},
},
}),
).toEqual([]);
});
});