diff --git a/packages/credential-provider-node/src/credential-provider-node.integ.spec.ts b/packages/credential-provider-node/src/credential-provider-node.integ.spec.ts index f7beb68cd4dd1..d199ca0187933 100644 --- a/packages/credential-provider-node/src/credential-provider-node.integ.spec.ts +++ b/packages/credential-provider-node/src/credential-provider-node.integ.spec.ts @@ -118,7 +118,7 @@ jest.mock("@smithy/node-http-handler", () => { AccessKeyId: "CONTAINER_ACCESS_KEY", SecretAccessKey: "CONTAINER_SECRET_ACCESS_KEY", Token: "CONTAINER_TOKEN", - Expiration: "3000-01-01T00:00:00Z", + Expiration: new Date("3000/1/1").toISOString(), }) ); body.push(null);