File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
__tests__/firebase/__tests__ Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ describe("Test Firebase Adapter", () => {
110
110
// @ts -expect-error
111
111
24 ,
112
112
) ,
113
- ) . toThrowError ( TypeError ) ;
113
+ ) . toThrow ( TypeError ) ;
114
114
} ) ;
115
115
116
116
it ( "should update User Id of current user" , ( ) => {
@@ -138,7 +138,7 @@ describe("Test Firebase Adapter", () => {
138
138
// @ts -expect-error
139
139
false ,
140
140
) ,
141
- ) . toThrowError ( TypeError ) ;
141
+ ) . toThrow ( TypeError ) ;
142
142
} ) ;
143
143
144
144
it ( "should update User Color of current user" , async ( ) => {
@@ -167,7 +167,7 @@ describe("Test Firebase Adapter", () => {
167
167
// @ts -expect-error
168
168
Symbol ( ) ,
169
169
) ,
170
- ) . toThrowError ( TypeError ) ;
170
+ ) . toThrow ( TypeError ) ;
171
171
} ) ;
172
172
173
173
it ( "should not throw error if null or undefined is passed as param" , ( ) => {
@@ -200,7 +200,7 @@ describe("Test Firebase Adapter", () => {
200
200
// @ts -expect-error
201
201
"Cursor" ,
202
202
) ,
203
- ) . rejects . toThrowError ( TypeError ) ;
203
+ ) . rejects . toThrow ( TypeError ) ;
204
204
} ) ;
205
205
206
206
it ( "should remove Cursor Position of current user" , async ( ) => {
You can’t perform that action at this time.
0 commit comments