Skip to content

Commit

Permalink
test(credential-provider-node): add integ test for default credential…
Browse files Browse the repository at this point in the history
… chain (#5764)

* test(credential-provider-node): add integ test for default credential chain

* test: more scenarios

* test: additional testcases
  • Loading branch information
kuhe authored Feb 6, 2024
1 parent a3cf2e0 commit 7735c34
Show file tree
Hide file tree
Showing 3 changed files with 490 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/credential-provider-node/jest.config.integ.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
preset: "ts-jest",
testMatch: ["**/*.integ.spec.ts"],
};
3 changes: 2 additions & 1 deletion packages/credential-provider-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"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"
"test": "jest",
"test:integration": "jest -c jest.config.integ.js"
},
"keywords": [
"aws",
Expand Down
Loading

0 comments on commit 7735c34

Please sign in to comment.