File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { randomUUID } from 'node:crypto';
22import { GenericContainer , StartedTestContainer , Wait } from 'testcontainers' ;
33import { ApiResponse , AuthToken , Authorizer } from '../lib' ;
44
5- jest . setTimeout ( 900000 ) ; // Integration tests can be slow on CI
5+ jest . setTimeout ( 1200000 ) ; // Integration tests can be slow on CI (20 minutes)
66
77const authorizerConfig : {
88 authorizerURL : string ;
@@ -31,7 +31,7 @@ function buildAuthorizerCliArgs(): { args: string[]; clientId: string } {
3131 const clientSecret = randomUUID ( ) ;
3232 const jwtSecret = randomUUID ( ) ;
3333 const customAccessTokenScript =
34- ' function(user,tokenPayload){var data = tokenPayload;data.extra = {\ 'x-extra-id\ ': user.id};return data;}' ;
34+ " function(user,tokenPayload){var data = tokenPayload;data.extra = {'x-extra-id': user.id};return data;}" ;
3535
3636 const args = [
3737 '--client-id' ,
You can’t perform that action at this time.
0 commit comments