File tree Expand file tree Collapse file tree 5 files changed +4
-13
lines changed Expand file tree Collapse file tree 5 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import {
2323 HarmCategory ,
2424 SafetySetting ,
2525 getGenerativeModel
26- } from '../src ' ;
26+ } from '@firebase/ai ' ;
2727import { testConfigs , TOKEN_COUNT_DELTA } from './constants' ;
2828
2929describe ( 'Chat Session' , ( ) => {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import {
2323 GoogleAIBackend ,
2424 VertexAIBackend ,
2525 getAI
26- } from '../src ' ;
26+ } from '@firebase/ai ' ;
2727import { FIREBASE_CONFIG } from './firebase-config' ;
2828
2929const app = initializeApp ( FIREBASE_CONFIG ) ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import {
3030 InlineDataPart ,
3131 FileDataPart ,
3232 BackendType
33- } from '../src ' ;
33+ } from '@firebase/ai ' ;
3434import {
3535 AUDIO_MIME_TYPE ,
3636 IMAGE_MIME_TYPE ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import {
2424 Modality ,
2525 SafetySetting ,
2626 getGenerativeModel
27- } from '../src ' ;
27+ } from '@firebase/ai ' ;
2828import { testConfigs , TOKEN_COUNT_DELTA } from './constants' ;
2929
3030describe ( 'Generate Content' , ( ) => {
Original file line number Diff line number Diff line change @@ -21,15 +21,6 @@ const { existsSync } = require('fs');
2121
2222const files = [ `src/**/*.test.ts` ] ;
2323
24- // Validate that the file that defines the Firebase config to be used in the integration tests exists.
25- if ( argv . integration ) {
26- if ( ! existsSync ( 'integration/firebase-config.ts' ) ) {
27- throw new Error (
28- `integration/firebase-config.ts does not exist. This file must contain a Firebase config for a project with Vertex AI enabled.`
29- ) ;
30- }
31- }
32-
3324module . exports = function ( config ) {
3425 const karmaConfig = {
3526 ...karmaBase ,
You can’t perform that action at this time.
0 commit comments