Disallow template literals if interpolation and special-character handling are not needed #2137
Annotations
5 errors
|
src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'const config = {\n // The transforma…' to deeply equal 'const config = {\n // The transforma…'
- Expected
+ Received
const config = {
- // The transformation for httpOptions is not implemented.
+ // The transformation for ${keyName} is not implemented.
// Refer to UPGRADING.md on aws-sdk-js-v3 for changes needed.
// Please create/upvote feature request on aws-sdk-js-codemod for httpOptions.
httpOptions: {
connectTimeout: 1000
}
};
❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
|
src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'const config = {\n // S3 client will…' to deeply equal 'const config = {\n // S3 client will…'
- Expected
+ Received
const config = {
- // S3 client will always use regional endpoint if region is set to "us-east-1".
+ // S3 client will always use regional endpoint if region is set to 'us-east-1'.
// The key s3UsEast1RegionalEndpoint is no longer supported in v3, and can be removed.
- // @deprecated Set region to "aws-global" to send requests to S3 global endpoint.
+ // @deprecated Set region to 'aws-global' to send requests to S3 global endpoint.
s3UsEast1RegionalEndpoint: "legacy"
};
❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
|
src/transforms/v2-to-v3/transformer.spec.ts#L53
AssertionError: expected 'const config = {\n // STS client wil…' to deeply equal 'const config = {\n // STS client wil…'
- Expected
+ Received
const config = {
// STS client will always use regional endpoints if set to a specific region.
// The key stsRegionalEndpoints is no longer supported in v3, and can be removed.
- // @deprecated Set region to "aws-global" to send requests to STS global endpoint.
+ // @deprecated Set region to 'aws-global' to send requests to STS global endpoint.
stsRegionalEndpoints: "legacy"
};
❯ src/transforms/v2-to-v3/transformer.spec.ts:53:31
|
|
This job failed
Loading