Skip to content

Commit 88dd70a

Browse files
committed
chore: Fix Firebase Unit Test Pipeline
Signed-off-by: Progyan Bhattacharya <bprogyan@gmail.com>
1 parent 4dbebb2 commit 88dd70a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

__tests__/firebase/__tests__/firebase-adapter.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe("Test Firebase Adapter", () => {
110110
// @ts-expect-error
111111
24,
112112
),
113-
).toThrowError(TypeError);
113+
).toThrow(TypeError);
114114
});
115115

116116
it("should update User Id of current user", () => {
@@ -138,7 +138,7 @@ describe("Test Firebase Adapter", () => {
138138
// @ts-expect-error
139139
false,
140140
),
141-
).toThrowError(TypeError);
141+
).toThrow(TypeError);
142142
});
143143

144144
it("should update User Color of current user", async () => {
@@ -167,7 +167,7 @@ describe("Test Firebase Adapter", () => {
167167
// @ts-expect-error
168168
Symbol(),
169169
),
170-
).toThrowError(TypeError);
170+
).toThrow(TypeError);
171171
});
172172

173173
it("should not throw error if null or undefined is passed as param", () => {
@@ -200,7 +200,7 @@ describe("Test Firebase Adapter", () => {
200200
// @ts-expect-error
201201
"Cursor",
202202
),
203-
).rejects.toThrowError(TypeError);
203+
).rejects.toThrow(TypeError);
204204
});
205205

206206
it("should remove Cursor Position of current user", async () => {

0 commit comments

Comments
 (0)