-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(packages): consolidate middleware integ tests (#4850)
- Loading branch information
Showing
19 changed files
with
98 additions
and
30 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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
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,10 @@ | ||
# @aws-sdk/aws-client-retry-test | ||
|
||
This is not a runtime or published package. | ||
|
||
This is a test spec. | ||
|
||
The purpose of this package is to perform integration tests on the retry-middleware. | ||
|
||
If tests in this package fail, the author should either fix their changes such that the API contract | ||
is maintained, or appropriately announce and safely deprecate the interfaces affected by incoming changes. |
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
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,4 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. |
2 changes: 1 addition & 1 deletion
2
...-apply-body-checksum/jest.config.integ.js → private/aws-middleware-test/jest.config.js
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module.exports = { | ||
preset: "ts-jest", | ||
testMatch: ["**/*.integ.spec.ts"], | ||
testMatch: ["**/*.spec.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,67 @@ | ||
{ | ||
"name": "@aws-sdk/aws-middleware-test", | ||
"description": "Integration test suite for AWS middleware", | ||
"version": "3.0.0", | ||
"scripts": { | ||
"build": "exit 0", | ||
"build:cjs": "exit 0", | ||
"build:es": "exit 0", | ||
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", | ||
"build:types": "tsc -p tsconfig.types.json", | ||
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", | ||
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", | ||
"test": "jest --coverage --passWithNoTests" | ||
}, | ||
"main": "./dist-cjs/index.js", | ||
"types": "./dist-types/index.d.ts", | ||
"module": "./dist-es/index.js", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@aws-sdk/client-accessanalyzer": "*", | ||
"@aws-sdk/client-ec2": "*", | ||
"@aws-sdk/client-lambda": "*", | ||
"@aws-sdk/client-s3": "*", | ||
"@aws-sdk/client-s3-control": "*", | ||
"@aws-sdk/client-sagemaker": "*", | ||
"@aws-sdk/client-sagemaker-runtime": "*", | ||
"@aws-sdk/client-xray": "*", | ||
"tslib": "^2.5.0" | ||
}, | ||
"devDependencies": { | ||
"@tsconfig/node14": "1.0.3", | ||
"@types/node": "^12.7.5", | ||
"concurrently": "7.0.0", | ||
"downlevel-dts": "0.10.1", | ||
"typedoc": "0.23.23", | ||
"typescript": "~4.9.5" | ||
}, | ||
"overrides": { | ||
"typedoc": { | ||
"typescript": "~4.9.5" | ||
} | ||
}, | ||
"engines": { | ||
"node": ">=14.0.0" | ||
}, | ||
"typesVersions": { | ||
"<4.0": { | ||
"dist-types/*": [ | ||
"dist-types/ts3.4/*" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"dist-*/**" | ||
], | ||
"author": { | ||
"name": "AWS SDK for JavaScript Team", | ||
"url": "https://aws.amazon.com/javascript/" | ||
}, | ||
"license": "Apache-2.0", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/aws/aws-sdk-js-v3.git", | ||
"directory": "private/aws-middleware-test" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
private/aws-client-retry-test/readme.md → private/aws-middleware-test/readme.md
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# @aws-sdk/aws-client-api-test | ||
# @aws-sdk/aws-middleware-test | ||
|
||
This is not a runtime or published package. | ||
|
||
This is a test spec. | ||
|
||
The purpose of this package is to perform integration tests on the retry-middleware. | ||
The purpose of this package is to perform integration tests on the AWS middleware. | ||
|
||
If tests in this package fail, the author should either fix their changes such that the API contract | ||
is maintained, or appropriately announce and safely deprecate the interfaces affected by incoming changes. |
2 changes: 1 addition & 1 deletion
2
...dleware-apply-body-checksum.integ.spec.ts → ...rc/middleware-apply-body-checksum.spec.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
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
2 changes: 1 addition & 1 deletion
2
...int/src/middleware-endpoint.integ.spec.ts → ...ware-test/src/middleware-endpoint.spec.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
2 changes: 1 addition & 1 deletion
2
...-retry/src/middleware-retry.integ.spec.ts → ...dleware-test/src/middleware-retry.spec.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
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