mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-26 20:59:34 +00:00
18 lines
508 B
TypeScript
18 lines
508 B
TypeScript
/** Tests runtime loading and sorting for plugin web content extractors. */
|
|
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([]);
|
|
});
|
|
});
|