Results invalid session when providing an invalid session token (#2154)
* Results invalid session when providing an invalid session token * Reverts unsafe loggers * Fixes failing tests - The tests were failin when run in sequence as we called done() before the JSSDK had a chance to register the session token, therefore having a proper logout call in afterEach
This commit is contained in:
@@ -329,6 +329,14 @@ global.it_exclude_dbs = excluded => {
|
||||
}
|
||||
}
|
||||
|
||||
global.fit_exclude_dbs = excluded => {
|
||||
if (excluded.includes(process.env.PARSE_SERVER_TEST_DB)) {
|
||||
return xit;
|
||||
} else {
|
||||
return fit;
|
||||
}
|
||||
}
|
||||
|
||||
// LiveQuery test setting
|
||||
require('../src/LiveQuery/PLog').logLevel = 'NONE';
|
||||
var libraryCache = {};
|
||||
|
||||
Reference in New Issue
Block a user