Skip to content

Commit 0653fb1

Browse files
authored
Fix unit tests (#129)
* update jest config * fix unit tests
1 parent 1530850 commit 0653fb1

File tree

20 files changed

+85
-71
lines changed

20 files changed

+85
-71
lines changed

typescript-sdk/integrations/agno/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/integrations/crewai/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/integrations/langgraph/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/integrations/llamaindex/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/integrations/mastra/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/integrations/middleware-starter/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/integrations/server-starter-all-features/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/integrations/server-starter/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/integrations/vercel-ai-sdk/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

typescript-sdk/packages/cli/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
preset: "ts-jest",
44
testEnvironment: "node",
55
testMatch: ["**/*.test.ts"],
6+
passWithNoTests: true,
67
moduleNameMapper: {
78
"^@/(.*)$": "<rootDir>/src/$1",
89
},

0 commit comments

Comments
 (0)