chore: fix test (skip e2e)

This commit is contained in:
Mo
2023-08-05 15:58:52 -05:00
parent eb4a446274
commit 07c23d24f0
2 changed files with 5 additions and 10 deletions

View File

@@ -65,15 +65,10 @@ export class VaultsContext extends AppContext {
}
/**
* Run a request to keep refresh token from expiring due to long bouts of inactivity for contact context
* Keep refresh token from expiring due to long bouts of inactivity for contact context
* while main context changes password. Tests have a refresh token age of 10s typically, and changing password
* on CI environment may be time consuming.
*/
async runAnyRequestToPreventRefreshTokenFromExpiring() {
await this.asymmetric.getInboundMessages()
}
/** Used for long running tests to avoid 498 responses */
async forceRefreshSession() {
await this.application.http.refreshSession()
}