File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed
Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,6 @@ describe('safety-with-txt', () => {
2424 it ( 'should call generateContentStream with safety instructions' , async function ( ) {
2525 this . timeout ( 50000 ) ;
2626 const output = await sample . generateWithSafetySettings ( projectId ) ;
27- assert ( output . text . length > 0 ) ;
27+ assert ( output > 0 ) ;
2828 } ) ;
2929} ) ;
Original file line number Diff line number Diff line change 1414 "scripts" : {
1515 "lint" : " gts check" ,
1616 "fix" : " gts fix" ,
17- "test" : " echo 'Please run tests in each sample directory.' && exit 1 " ,
17+ "test" : " c8 mocha -p -j 2 --timeout 2400000 test/*.test.js test/**/*.test.js " ,
1818 "generate-ci" : " node .github/workflows/utils/generate.js"
1919 },
20+ "dependencies" : {
21+ "commander" : " ^12.0.0" ,
22+ "eslint" : " ^8.57.0" ,
23+ "@google/genai" : " 1.20.0" ,
24+ "axios" : " ^1.6.2" ,
25+ "google-auth-library" : " ^10.3.0" ,
26+ "luxon" : " ^3.7.1" ,
27+ "node-fetch" : " ^2.7.0" ,
28+ "openai" : " ^5.19.1" ,
29+ "supertest" : " ^7.0.0"
30+ },
2031 "devDependencies" : {
2132 "@typescript-eslint/eslint-plugin" : " ^8.0.0" ,
2233 "@typescript-eslint/parser" : " ^8.0.0" ,
2839 "mocha" : " ^10.2.0" ,
2940 "nunjucks" : " ^3.2.4" ,
3041 "prettier" : " ^3.0.3" ,
31- "typescript" : " ^5.0.4"
32- } ,
33- "dependencies " : {
34- "commander " : " ^12 .0.0" ,
35- "eslint " : " ^8.57 .0"
42+ "typescript" : " ^5.0.4" ,
43+ "chai" : " ^4.5.0 " ,
44+ "proxyquire " : " ^2.1.3 " ,
45+ "sinon " : " ^18 .0.0" ,
46+ "uuid " : " ^10.0 .0"
3647 }
3748}
You can’t perform that action at this time.
0 commit comments