Skip to content

Commit eca265b

Browse files
committed
fix: Missing dev dep
1 parent c80999a commit eca265b

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

packages/react/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"zod": "catalog:"
5050
},
5151
"devDependencies": {
52+
"@firebase-ui/translations": "workspace:*",
5253
"@testing-library/jest-dom": "catalog:",
5354
"@testing-library/react": "catalog:",
5455
"@types/jsdom": "catalog:",

packages/react/src/components/form.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ describe("form export", () => {
202202
});
203203

204204
describe("<ErrorMessage />", () => {
205-
it.only("should render the ErrorMessage if the onSubmit error is set", async () => {
205+
it("should render the ErrorMessage if the onSubmit error is set", async () => {
206206
const { result } = renderHook(() => {
207207
return form.useAppForm({
208208
validators: {

packages/react/tests/utils.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
import type { FirebaseApp } from "firebase/app";
22
import type { Auth } from "firebase/auth";
33
import { enUs } from "@firebase-ui/translations";
4-
import {
5-
BehaviorHandlers,
6-
Behavior,
7-
FirebaseUI,
8-
FirebaseUIConfigurationOptions,
9-
initializeUI,
10-
} from "@firebase-ui/core";
4+
import { Behavior, FirebaseUI, FirebaseUIConfigurationOptions, initializeUI } from "@firebase-ui/core";
115
import { FirebaseUIProvider } from "../src/context";
126

137
export function createMockUI(overrides?: Partial<FirebaseUIConfigurationOptions>): FirebaseUI {
148
return initializeUI({
159
app: {} as FirebaseApp,
1610
auth: {} as Auth,
1711
locale: enUs,
18-
behaviors: [] as Partial<Behavior<keyof BehaviorHandlers>>[],
12+
behaviors: [] as Behavior[],
1913
...overrides,
2014
});
2115
}

pnpm-lock.yaml

Lines changed: 14 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)