Skip to content

Commit a9be675

Browse files
authored
fix(ci): Update e2e tests to import from ai instead of vertexai (#9164)
1 parent 25b60fd commit a9be675

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

e2e/smoke-tests/tests/modular.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,9 @@ import {
8686
StorageReference,
8787
deleteObject
8888
} from 'firebase/storage';
89-
import {
90-
getGenerativeModel,
91-
getAI,
92-
AI,
93-
VertexAIBackend
94-
} from 'firebase/vertexai';
89+
import { getGenerativeModel, getAI, AI, VertexAIBackend } from 'firebase/ai';
9590
import { getDataConnect, DataConnect } from 'firebase/data-connect';
91+
// @ts-ignore
9692
import { config, testAccount } from '../firebase-config';
9793
import 'jest';
9894

e2e/smoke-tests/tsconfig.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "../../config/tsconfig.base.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"typeRoots": ["./node_modules/@types"]
6+
}
7+
}

0 commit comments

Comments
 (0)