Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
ts 11 lines 410 Bytes
Raw
1 import { describe, expect, it } from 'vitest';
2 import { version } from 'zod/v4/core';
3
4 describe('the /v4 entry below the zod floor', () => {
5 it('refuses to load and names the floor', async () => {
6 expect(version).toEqual({ major: 4, minor: 0, patch: 0 });
7 await expect(import('../src/v4')).rejects.toThrow(
8 '@composio/json-schema-to-zod/v4 requires zod >= 4.1.13; found 4.0.0'
9 );
10 });
11 });