(req)
| 288 | }; |
| 289 | const verifyUserEmails = { |
| 290 | method(req) { |
| 291 | expect(Object.keys(req)).toEqual([ |
| 292 | 'original', |
| 293 | 'object', |
| 294 | 'master', |
| 295 | 'ip', |
| 296 | 'installationId', |
| 297 | 'createdWith', |
| 298 | ]); |
| 299 | expect(req.createdWith).toEqual({ action: 'signup', authProvider: 'password' }); |
| 300 | return false; |
| 301 | }, |
| 302 | }; |
| 303 | const verifySpy = spyOn(verifyUserEmails, 'method').and.callThrough(); |
| 304 | await reconfigureServer({ |