mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-30 17:14:54 +01:00
test: include computer in environment capability registry
This commit is contained in:
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,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user