Skip to content

Commit

Permalink
fixed cicd #4
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-fabian committed May 24, 2024
1 parent 8e1d595 commit 60be57f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/unit/refresh-token.service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('RefreshTokenService', () => {

// we need to wait so that the time part in the new access token is different.
// (at least the seconds need to differ)
await sleep(1500);
await sleep(1000);

const newTokenObject: TokenObject = await testRefreshTokenService.refreshToken(oldRefreshTokenValue);

Expand All @@ -57,7 +57,7 @@ describe('RefreshTokenService', () => {
}
await testRefreshTokenRepository.updateById(refreshToken.id, { expirationDate: new Date() });

await sleep(1500);
await sleep(1000);

const newTokenObjectTwo: TokenObject = await testRefreshTokenService.refreshToken(oldRefreshTokenValue);

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit 60be57f

Please sign in to comment.