mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 23:50:43 +00:00
17 lines
432 B
TypeScript
17 lines
432 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,
|
|
},
|
|
},
|
|
}),
|
|
).toStrictEqual([]);
|
|
});
|
|
});
|