Skip to content

Commit 4c03b9e

Browse files
committed
fix: set project id to test-project versus demo-project
1 parent 8302a5a commit 4c03b9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"scripts": {
55
"test": "vitest --dom --coverage",
66
"serve:coverage": "npx serve coverage",
7-
"emulator": "firebase emulators:start --project demo-projectc",
7+
"emulator": "firebase emulators:start --project test-project",
88
"emulator:kill": "lsof -t -i:4001 -i:8080 -i:9000 -i:9099 -i:9199 -i:8085 | xargs kill -9",
99
"check": "pnpm biome check --write ./packages/react/src"
1010
},

vitest/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
import { connectorConfig } from "@/dataconnect/default-connector";
1414

1515
const firebaseTestingOptions = {
16-
projectId: "demo-project",
16+
projectId: "test-project",
1717
apiKey: "test-api-key",
1818
authDomain: "test-auth-domain",
1919
};
@@ -38,7 +38,7 @@ if (!firebaseApp) {
3838

3939
async function wipeFirestore() {
4040
const response = await fetch(
41-
"http://localhost:8080/emulator/v1/projects/demo-project/databases/(default)/documents",
41+
"http://localhost:8080/emulator/v1/projects/test-project/databases/(default)/documents",
4242
{
4343
method: "DELETE",
4444
}
@@ -51,7 +51,7 @@ async function wipeFirestore() {
5151

5252
async function wipeAuth() {
5353
const response = await fetch(
54-
"http://localhost:9099/emulator/v1/projects/demo-project/accounts",
54+
"http://localhost:9099/emulator/v1/projects/test-project/accounts",
5555
{
5656
method: "DELETE",
5757
}

0 commit comments

Comments
 (0)