Skip to content

Commit 8c7fb62

Browse files
committed
chore: fix test
1 parent 78ab925 commit 8c7fb62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

__test__/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { randomUUID } from 'node:crypto';
22
import { GenericContainer, StartedTestContainer, Wait } from 'testcontainers';
33
import { 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

77
const 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',

0 commit comments

Comments
 (0)