From f3a298804e35395e5ef705ca531342329c49398c Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:54:30 -0700 Subject: [PATCH] test: config/endpoint --- .../v2-to-v3/__fixtures__/config/endpoint.input.js | 5 +++++ .../v2-to-v3/__fixtures__/config/endpoint.output.js | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 src/transforms/v2-to-v3/__fixtures__/config/endpoint.input.js create mode 100644 src/transforms/v2-to-v3/__fixtures__/config/endpoint.output.js diff --git a/src/transforms/v2-to-v3/__fixtures__/config/endpoint.input.js b/src/transforms/v2-to-v3/__fixtures__/config/endpoint.input.js new file mode 100644 index 000000000..139215708 --- /dev/null +++ b/src/transforms/v2-to-v3/__fixtures__/config/endpoint.input.js @@ -0,0 +1,5 @@ +import AWS from "aws-sdk"; + +const config = new AWS.Config({ + endpoint: "http://localhost" +}); \ No newline at end of file diff --git a/src/transforms/v2-to-v3/__fixtures__/config/endpoint.output.js b/src/transforms/v2-to-v3/__fixtures__/config/endpoint.output.js new file mode 100644 index 000000000..ff3973b2e --- /dev/null +++ b/src/transforms/v2-to-v3/__fixtures__/config/endpoint.output.js @@ -0,0 +1,3 @@ +const client = { + endpoint: "http://localhost" +}; \ No newline at end of file