Skip to content

Commit 716b5e9

Browse files
authored
Merge pull request #33 from objectstack-ai/copilot/fix-action-step-issue
2 parents c508bb2 + 6f94ae0 commit 716b5e9

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

packages/spec/src/data/field.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ describe('FieldSchema', () => {
148148

149149
expect(() => FieldSchema.parse(selectField)).not.toThrow();
150150
});
151-
});
152151
});
153152

154153
describe('Relationship Fields', () => {

packages/spec/src/system/manifest.test.ts

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,5 @@
11
import { describe, it, expect } from 'vitest';
2-
import { ManifestSchema, MenuItemSchema, type ObjectStackManifest, type MenuItem } from './manifest.zod';
3-
4-
describe('MenuItemSchema', () => {
5-
it('should accept minimal menu item', () => {
6-
const menuItem: MenuItem = {
7-
label: 'Dashboard',
8-
path: '/dashboard',
9-
};
10-
11-
expect(() => MenuItemSchema.parse(menuItem)).not.toThrow();
12-
});
13-
14-
it('should accept menu item with icon', () => {
15-
const menuItem: MenuItem = {
16-
label: 'Settings',
17-
path: '/settings',
18-
icon: 'settings',
19-
};
20-
21-
expect(() => MenuItemSchema.parse(menuItem)).not.toThrow();
22-
});
23-
24-
it('should reject menu item without required fields', () => {
25-
expect(() => MenuItemSchema.parse({ label: 'Test' })).toThrow();
26-
expect(() => MenuItemSchema.parse({ path: '/test' })).toThrow();
27-
});
28-
});
2+
import { ManifestSchema, type ObjectStackManifest } from './manifest.zod';
293

304
describe('ManifestSchema', () => {
315
describe('Basic Properties', () => {

0 commit comments

Comments
 (0)