Skip to content

Commit

Permalink
chore: improve token length check in app-access-token-integration test (
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoudy91 authored Aug 2, 2024
1 parent 7963627 commit 31b67c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/app-access-token-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ describe('AppAccessToken api', function () {
}
)

expect(appAccessToken.token).to.have.lengthOf(292)
// Token length not deterministic, but should be within a certain range
expect(appAccessToken.token).to.have.length.within(285, 300)
})
})

0 comments on commit 31b67c7

Please sign in to comment.