Skip to content

Commit

Permalink
fix(clients): import mocha types where mocha is used
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jan 7, 2022
1 parent 7a9ba82 commit b8978be
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 15 deletions.
3 changes: 2 additions & 1 deletion clients/client-cognito-identity/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-cjs"
"outDir": "dist-cjs",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*"],
"extends": "../../tsconfig.cjs.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-cognito-identity/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-es",
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"]
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"types": ["mocha", "node"]
},
"extends": "../../tsconfig.es.json",
"include": ["src/"]
Expand Down
3 changes: 2 additions & 1 deletion clients/client-cognito-identity/tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"extends": "../../tsconfig.types.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-lex-runtime-service/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-cjs"
"outDir": "dist-cjs",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*"],
"extends": "../../tsconfig.cjs.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-lex-runtime-service/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-es",
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"]
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"types": ["mocha", "node"]
},
"extends": "../../tsconfig.es.json",
"include": ["src/"]
Expand Down
3 changes: 2 additions & 1 deletion clients/client-lex-runtime-service/tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"extends": "../../tsconfig.types.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-mediastore-data/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-cjs"
"outDir": "dist-cjs",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*"],
"extends": "../../tsconfig.cjs.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-mediastore-data/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-es",
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"]
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"types": ["mocha", "node"]
},
"extends": "../../tsconfig.es.json",
"include": ["src/"]
Expand Down
3 changes: 2 additions & 1 deletion clients/client-mediastore-data/tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"extends": "../../tsconfig.types.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-s3-control/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-cjs"
"outDir": "dist-cjs",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*"],
"extends": "../../tsconfig.cjs.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-s3-control/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-es",
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"]
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"types": ["mocha", "node"]
},
"extends": "../../tsconfig.es.json",
"include": ["src/"]
Expand Down
3 changes: 2 additions & 1 deletion clients/client-s3-control/tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"extends": "../../tsconfig.types.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-s3/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-cjs"
"outDir": "dist-cjs",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*"],
"extends": "../../tsconfig.cjs.json",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-s3/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist-es",
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"]
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"types": ["mocha", "node"]
},
"extends": "../../tsconfig.es.json",
"include": ["src/"]
Expand Down
3 changes: 2 additions & 1 deletion clients/client-s3/tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"extends": "../../tsconfig.types.json",
Expand Down

0 comments on commit b8978be

Please sign in to comment.