Refactor flattenSchema to simplify JSON schema for Google Generative … (#4711)

* Refactor flattenSchema to simplify JSON schema for Google Generative AI API compatibility

* Added unit test and github action

* Add unit tests workflow and update test script in package.json

* Downgrade eslint-plugin-jest to make min node version 18
This commit is contained in:
bmen25124
2025-11-06 01:08:58 +03:00
committed by GitHub
parent 2577e35c0b
commit a728d30c99
11 changed files with 608 additions and 294 deletions
+1 -5
View File
@@ -1,9 +1,5 @@
{
"verbose": true,
"transform": {},
"extensionsToTreatAsEsm": [],
"preset": "jest-puppeteer",
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
]
"testEnvironment": "node"
}