Skip to content

Commit ebb0028

Browse files
committed
chore: fix typo
1 parent 155c73f commit ebb0028

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/react/src/firestore/useFirestoreDocument.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe("useFirestoreDocument", () => {
9797
expect(result.current.error).toBeDefined();
9898
});
9999

100-
test("returns pending state initally", async () => {
100+
test("returns pending state initially", async () => {
101101
const ref = doc(firestore, "tests", "pendingState");
102102

103103
setDoc(ref, { foo: "pending" });

vitest.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import { defineConfig } from "vitest/config";
2+
import path from 'path'
23

34
export default defineConfig({
45
test: {
56
coverage: {
67
provider: "istanbul",
78
},
9+
alias: {
10+
"~/testing-utils": path.resolve(__dirname, "./vitest/utils"),
11+
},
812
},
913
});

0 commit comments

Comments
 (0)