Tests: add global web search contract suite
This commit is contained in:
parent
0f502726e1
commit
9b73673313
12
src/plugins/contracts/web-search-provider.contract.test.ts
Normal file
12
src/plugins/contracts/web-search-provider.contract.test.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { describe } from "vitest";
|
||||
import { webSearchProviderContractRegistry } from "./registry.js";
|
||||
import { installWebSearchProviderContractSuite } from "./suites.js";
|
||||
|
||||
for (const entry of webSearchProviderContractRegistry) {
|
||||
describe(`${entry.pluginId}:${entry.provider.id} web search contract`, () => {
|
||||
installWebSearchProviderContractSuite({
|
||||
provider: entry.provider,
|
||||
credentialValue: entry.credentialValue,
|
||||
});
|
||||
});
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user