Skip to content

Commit 6d920fc

Browse files
committed
Update e2e tests to import from ai instead of vertexai
1 parent d91169f commit 6d920fc

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ import {
9191
getAI,
9292
AI,
9393
VertexAIBackend
94-
} from 'firebase/vertexai';
94+
} from 'firebase/ai';
9595
import { getDataConnect, DataConnect } from 'firebase/data-connect';
96+
// @ts-ignore
9697
import { config, testAccount } from '../firebase-config';
9798
import 'jest';
9899

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)