diff --git a/examples/react/useGetIdTokenQuery/package.json b/examples/react/useGetIdTokenQuery/package.json index 39d53f05..3642adb1 100644 --- a/examples/react/useGetIdTokenQuery/package.json +++ b/examples/react/useGetIdTokenQuery/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "dev:emulator": "cd ../../../ && firebase emulators:exec --project test-project 'cd examples/react/useGetIdTokenQuery && vite'", + "dev:emulator": "cd ../../../ && firebase emulators:exec --project demo-test-project 'cd examples/react/useGetIdTokenQuery && vite'", "build": "npx vite build", "preview": "vite preview" }, diff --git a/package.json b/package.json index 8a42e38a..b1727b07 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,9 @@ "packageManager": "pnpm@10.10.0", "scripts": { "test": "turbo test", - "test:emulator": "firebase emulators:exec --project test-project \"pnpm turbo test:ci\"", + "test:emulator": "firebase emulators:exec --project demo-test-project \"pnpm turbo test:ci\"", "serve:coverage": "npx serve coverage", - "emulator": "firebase emulators:start --project test-project", + "emulator": "firebase emulators:start --project demo-test-project", "emulator:kill": "lsof -t -i:4001 -i:8080 -i:9000 -i:9099 -i:9199 -i:8085 -i:9399 -i:9299 | xargs kill -9", "format": "biome check .", "format:fix": "biome check . --write", diff --git a/packages/react/package.json b/packages/react/package.json index 4ff88fb8..9ecacdd2 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -8,7 +8,7 @@ "test:ci": "vitest --dom --coverage --run", "build": "tsup", "serve:coverage": "npx serve coverage", - "emulator": "firebase emulators:start --project test-project", + "emulator": "firebase emulators:start --project demo-test-project", "emulator:kill": "lsof -t -i:4001 -i:8080 -i:9000 -i:9099 -i:9199 -i:8085 | xargs kill -9", "check": "tsc --noEmit", "publish-package": "pnpm run build && cd dist && npm publish" diff --git a/packages/react/vitest/utils.ts b/packages/react/vitest/utils.ts index cdf1d667..25c275a8 100644 --- a/packages/react/vitest/utils.ts +++ b/packages/react/vitest/utils.ts @@ -13,7 +13,7 @@ import { expect } from "vitest"; import { connectorConfig } from "@/dataconnect/default-connector"; const firebaseTestingOptions = { - projectId: "test-project", + projectId: "demo-test-project", apiKey: "test-api-key", authDomain: "test-auth-domain", }; @@ -38,7 +38,7 @@ if (!firebaseApp) { async function wipeFirestore() { const response = await fetch( - "http://localhost:8080/emulator/v1/projects/test-project/databases/(default)/documents", + "http://localhost:8080/emulator/v1/projects/demo-test-project/databases/(default)/documents", { method: "DELETE", }, @@ -51,7 +51,7 @@ async function wipeFirestore() { async function wipeAuth() { const response = await fetch( - "http://localhost:9099/emulator/v1/projects/test-project/accounts", + "http://localhost:9099/emulator/v1/projects/demo-test-project/accounts", { method: "DELETE", },