test: include computer in environment capability registry

This commit is contained in:
Dotta committed 2026-10-10 09:25:39 -05:00
1 parent a5142d1f68
commit 1412a62aff
1 file changed
+6 -2
@@ -108,15 +108,19 @@ describe("general capability classifier", () => {
}
});
it("defines static capability support for the four drivers", () => {
it("defines static capability support for every driver", () => {
expect(Object.keys(ENVIRONMENT_DRIVER_CAPABILITY_SUPPORT).sort()).toEqual([
"computer",
"local",
"plugin",
"sandbox",
"ssh",
]);
// The two remote provider drivers support the whole capability set; the two
// The three provider drivers support the whole capability set; the two
// host drivers support none.
expect(ENVIRONMENT_DRIVER_CAPABILITY_SUPPORT.computer.supportedCapabilities.size).toBe(
SANDBOX_CAPABILITY_KEYS.length,
);
expect(ENVIRONMENT_DRIVER_CAPABILITY_SUPPORT.sandbox.supportedCapabilities.size).toBe(
SANDBOX_CAPABILITY_KEYS.length,
);