Skip to content

Commit e266629

Browse files
committed
fixed test types
1 parent f8afd80 commit e266629

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

tests/sdk/devbox-ops.test.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ describe('DevboxOps', () => {
143143
describe('mixed mount types', () => {
144144
it('should handle mixed SDK and standard mount types', async () => {
145145
const mockStorageObject = { id: 'obj-123' } as StorageObject;
146-
const standardMount: Shared.CodeMountParameters = {
146+
const standardMount: Shared.Mount.CodeMount = {
147147
type: 'code_mount',
148148
repo_name: 'my-repo',
149149
repo_owner: 'owner',
@@ -176,7 +176,7 @@ describe('DevboxOps', () => {
176176
});
177177

178178
it('should pass through standard ObjectMountParameters unchanged', async () => {
179-
const standardObjectMount: Shared.ObjectMountParameters = {
179+
const standardObjectMount: Shared.Mount.ObjectMount = {
180180
type: 'object_mount',
181181
object_id: 'obj-789',
182182
object_path: '/home/user/existing.txt',
@@ -198,11 +198,10 @@ describe('DevboxOps', () => {
198198
});
199199

200200
it('should pass through file_mount unchanged', async () => {
201-
const fileMount: Shared.Mount = {
201+
const fileMount: Shared.Mount.FileMount = {
202202
type: 'file_mount',
203-
files: {
204-
'/home/user/config.json': '{"key": "value"}',
205-
},
203+
content: '{"key": "value"}',
204+
target: '/home/user/config.json',
206205
};
207206

208207
await devboxOps.create({

0 commit comments

Comments
 (0)