mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-17 01:25:26 +02:00
test: recognize computer lease capability traits
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
cb9aba69b7
commit
d1e5e6340c
1 file changed
+2
-2
@@ -47,11 +47,11 @@ describe("environment driver traits", () => {
|
||||
});
|
||||
}
|
||||
|
||||
it("only the sandbox driver has a lease capability model today", () => {
|
||||
it("computer and sandbox drivers have a lease capability model", () => {
|
||||
const withModel = Object.values(ENVIRONMENT_DRIVER_TRAITS).filter(
|
||||
(traits) => traits.hasLeaseCapabilityModel,
|
||||
);
|
||||
expect(withModel.map((traits) => traits.driver)).toEqual(["sandbox"]);
|
||||
expect(withModel.map((traits) => traits.driver).sort()).toEqual(["computer", "sandbox"]);
|
||||
});
|
||||
|
||||
it("getEnvironmentDriverTraits resolves a registered driver", () => {
|
||||
|
||||
Reference in new issue
Block a user