File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
packages/functions-compat/src Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,11 @@ describe('Firebase Functions > Call', () => {
104
104
it ( 'missing result' , async ( ) => {
105
105
const functions = createTestService ( app , region ) ;
106
106
const func = functions . httpsCallable ( 'missingResultTest' ) ;
107
- await expectError ( func ( ) , 'functions/internal' , 'Response is missing data field.' ) ;
107
+ await expectError (
108
+ func ( ) ,
109
+ 'functions/internal' ,
110
+ 'Response is missing data field.'
111
+ ) ;
108
112
} ) ;
109
113
110
114
it ( 'unhandled error' , async ( ) => {
@@ -138,6 +142,10 @@ describe('Firebase Functions > Call', () => {
138
142
it ( 'timeout' , async ( ) => {
139
143
const functions = createTestService ( app , region ) ;
140
144
const func = functions . httpsCallable ( 'timeoutTest' , { timeout : 10 } ) ;
141
- await expectError ( func ( ) , 'functions/deadline-exceeded' , 'deadline-exceeded' ) ;
145
+ await expectError (
146
+ func ( ) ,
147
+ 'functions/deadline-exceeded' ,
148
+ 'deadline-exceeded'
149
+ ) ;
142
150
} ) ;
143
151
} ) ;
You can’t perform that action at this time.
0 commit comments