We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e5172 commit 37eb015Copy full SHA for 37eb015
spec/ParseSession.spec.js
@@ -285,7 +285,9 @@ describe('Parse.Session', () => {
285
},
286
body: JSON.stringify({}),
287
}).catch(e => e);
288
- expect(response.status).not.toBe(500);
+ expect(response.status).toBeGreaterThanOrEqual(400);
289
+ expect(response.status).toBeLessThan(500);
290
+ expect(response.data?.code).toBeDefined();
291
});
292
293
@@ -313,7 +315,9 @@ describe('Parse.Session', () => {
313
315
'X-Parse-REST-API-Key': 'rest',
314
316
317
318
319
320
321
322
323
0 commit comments