-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test with no AWS SDK for JavaScript (v2) (#98)
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"aws-sdk-js-codemod": patch | ||
--- | ||
|
||
Add test with no AWS SDK for JavaScript (v2) |
16 changes: 16 additions & 0 deletions
16
src/transforms/v2-to-v3/__fixtures__/no-aws-sdk-v2.input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Alexa SDKs | ||
import * as AlexaSDK from "alexa-sdk"; | ||
import * as Alexa from "ask-sdk"; | ||
import * as AlexaCore from "ask-sdk-core"; | ||
import * as DdbAdapter from "ask-sdk-dynamodb-persistence-adapter"; | ||
import * as Runtime from "ask-sdk-runtime"; | ||
import * as S3Adapter from "ask-sdk-s3-persistence-adapter"; | ||
import * as ExpressAdapter from "ask-sdk-express-adapter"; | ||
import * as AlexaSmApi from "ask-smapi-sdk"; | ||
|
||
// Amplify SDKs | ||
import * as AwsAmplify from "aws-amplify"; | ||
import * as AwsAmplifyReact from "@aws-amplify/ui-react"; | ||
|
||
// AWS SDK for JavaScript (v3) | ||
import * as S3 from "@aws-sdk/client-s3"; |
16 changes: 16 additions & 0 deletions
16
src/transforms/v2-to-v3/__fixtures__/no-aws-sdk-v2.output.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Alexa SDKs | ||
import * as AlexaSDK from "alexa-sdk"; | ||
import * as Alexa from "ask-sdk"; | ||
import * as AlexaCore from "ask-sdk-core"; | ||
import * as DdbAdapter from "ask-sdk-dynamodb-persistence-adapter"; | ||
import * as Runtime from "ask-sdk-runtime"; | ||
import * as S3Adapter from "ask-sdk-s3-persistence-adapter"; | ||
import * as ExpressAdapter from "ask-sdk-express-adapter"; | ||
import * as AlexaSmApi from "ask-smapi-sdk"; | ||
|
||
// Amplify SDKs | ||
import * as AwsAmplify from "aws-amplify"; | ||
import * as AwsAmplifyReact from "@aws-amplify/ui-react"; | ||
|
||
// AWS SDK for JavaScript (v3) | ||
import * as S3 from "@aws-sdk/client-s3"; |