diff --git a/integrations/test/version_test.ts b/integrations/test/version_test.ts index 9f5a6900a..d2db73df0 100644 --- a/integrations/test/version_test.ts +++ b/integrations/test/version_test.ts @@ -6,9 +6,10 @@ import {version} from '@google/adk-integrations'; import {describe, expect, it} from 'vitest'; +import packageJson from '../package.json' with {type: 'json'}; describe('version', () => { - it('should return the correct version', () => { - expect(version).toBe('1.3.0'); + it('should match the version declared in package.json', () => { + expect(version).toBe(packageJson.version); }); }); diff --git a/package.json b/package.json index 86cee8241..d5b10ea5d 100644 --- a/package.json +++ b/package.json @@ -24,12 +24,12 @@ "docs:generate": "typedoc", "docs:serve": "http-server api-reference/typescript", "docs:check": "typedoc --emit none --treatWarningsAsErrors", - "test": "vitest --project unit:core --project unit:dev --project integration --project e2e", - "test:unit": "vitest --project unit:core --project unit:dev", + "test": "vitest --project unit:core --project unit:dev --project unit:integrations --project integration --project e2e", + "test:unit": "vitest --project unit:core --project unit:dev --project unit:integrations", "test:integration": "vitest --project integration", "test:e2e": "vitest --project e2e", "test:cross-language": "vitest --project cross-language", - "test:coverage": "vitest run --project unit:core --project unit:dev --project integration --project e2e --coverage", + "test:coverage": "vitest run --project unit:core --project unit:dev --project unit:integrations --project integration --project e2e --coverage", "prepare": "husky" }, "workspaces": [