Skip to content

Commit 7735c34

Browse files
authored
test(credential-provider-node): add integ test for default credential chain (#5764)
* test(credential-provider-node): add integ test for default credential chain * test: more scenarios * test: additional testcases
1 parent a3cf2e0 commit 7735c34

File tree

3 files changed

+490
-1
lines changed

3 files changed

+490
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
preset: "ts-jest",
3+
testMatch: ["**/*.integ.spec.ts"],
4+
};

packages/credential-provider-node/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"build:types": "tsc -p tsconfig.types.json",
1616
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
1717
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
18-
"test": "jest"
18+
"test": "jest",
19+
"test:integration": "jest -c jest.config.integ.js"
1920
},
2021
"keywords": [
2122
"aws",

0 commit comments

Comments
 (0)