Skip to content

Commit

Permalink
test: add credential refresh to long-running test
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolk committed Nov 30, 2023
1 parent 7979d82 commit d387b29
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
getUserPool,
getUserPoolDomain,
getUserPoolId,
tryScheduleCredentialRefresh,
updateAuthAddUserGroups,
updateAuthDomainPrefixWithAllProvidersConfigured,
updateHeadlessAuth,
Expand All @@ -25,6 +26,8 @@ import { UpdateAuthRequest } from 'amplify-headless-interface';

describe('amplify auth hosted ui', () => {
beforeAll(async () => {
tryScheduleCredentialRefresh();

const migrateFromVersion = { v: '12.0.3' };
const migrateToVersion = { v: 'uninitialized' };

Expand Down

0 comments on commit d387b29

Please sign in to comment.