File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/web-integration/tests/unit-test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const mockedModelConfigFnResult = {
62
62
const modelConfigCalcByMockedModelConfigFnResult = {
63
63
from : 'modelConfig' ,
64
64
httpProxy : undefined ,
65
- intent : 'default ' ,
65
+ intent : 'VQA ' ,
66
66
modelDescription : '' ,
67
67
modelName : 'mock-model' ,
68
68
openaiApiKey : 'mock-api-key' ,
@@ -429,7 +429,7 @@ describe('PageAgent cache configuration', () => {
429
429
it ( 'should throw error for cache: { strategy: "read-only" } without id' , ( ) => {
430
430
expect ( ( ) => {
431
431
new PageAgent ( mockPage , {
432
- cache : { strategy : 'read-only' } ,
432
+ cache : { strategy : 'read-only' , id : undefined as unknown as string } ,
433
433
modelConfig : ( ) => mockedModelConfigFnResult ,
434
434
} ) ;
435
435
} ) . toThrow ( 'cache configuration requires an explicit id' ) ;
You can’t perform that action at this time.
0 commit comments