Skip to content

Commit 31b67c7

Browse files
authored
chore: improve token length check in app-access-token-integration test (#2393)
1 parent 7963627 commit 31b67c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/app-access-token-integration.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ describe('AppAccessToken api', function () {
6969
}
7070
)
7171

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

0 commit comments

Comments
 (0)