fix: Using Parse Server option extendSessionOnUse does not correctly clear memory and functions as a debounce instead of a throttle (#8683)
This commit is contained in:
@@ -106,6 +106,8 @@ describe('Auth', () => {
|
||||
updatedAt: updatedAt.toISOString(),
|
||||
}
|
||||
);
|
||||
Parse.Server.cacheController.clear();
|
||||
await new Promise(resolve => setTimeout(resolve, 1000));
|
||||
await session.fetch();
|
||||
await new Promise(resolve => setTimeout(resolve, 1000));
|
||||
await session.fetch();
|
||||
|
||||
Reference in New Issue
Block a user