Skip to content

Commit 22cd3d2

Browse files
committed
JS formatting
1 parent 61e1a0f commit 22cd3d2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

modal-js/test/sandbox.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,9 +1072,7 @@ test("SandboxDetachForbidsAllOperations", async () => {
10721072
await expect(sb.tunnels()).rejects.toThrow(errorMsg);
10731073
await expect(sb.snapshotFilesystem()).rejects.toThrow(errorMsg);
10741074
await expect(sb.mountImage("/abc")).rejects.toThrow(errorMsg);
1075-
await expect(sb.snapshotDirectory("/abc")).rejects.toThrow(
1076-
errorMsg,
1077-
);
1075+
await expect(sb.snapshotDirectory("/abc")).rejects.toThrow(errorMsg);
10781076
await expect(sb.poll()).rejects.toThrow(errorMsg);
10791077
await expect(sb.setTags({})).rejects.toThrow(errorMsg);
10801078
await expect(sb.getTags()).rejects.toThrow(errorMsg);

modal-js/test/sandbox_mount_image.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test("SandboxMountDirectoryWithUnbuiltImageThrows", async () => {
9696
const unbuiltImage = tc.images.fromRegistry("alpine:3.21");
9797
expect(unbuiltImage.imageId).toBe("");
9898

99-
await expect(
100-
sb.mountImage("/mnt/data", unbuiltImage),
101-
).rejects.toThrow("Image must be built before mounting");
99+
await expect(sb.mountImage("/mnt/data", unbuiltImage)).rejects.toThrow(
100+
"Image must be built before mounting",
101+
);
102102
});

0 commit comments

Comments
 (0)