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 Oct 5, 2021
1 parent 2d7a8e4 commit 430c94b
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 10 deletions.
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 @@ -4,7 +4,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"]
},
"include": ["src/"]
}
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 @@ -3,7 +3,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"include": ["src/"]
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 @@ -4,7 +4,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"]
},
"include": ["src/"]
}
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 @@ -3,7 +3,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"include": ["src/"]
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 @@ -4,7 +4,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"]
},
"include": ["src/"]
}
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 @@ -3,7 +3,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"include": ["src/"]
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 @@ -4,7 +4,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"]
},
"include": ["src/"]
}
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 @@ -3,7 +3,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"include": ["src/"]
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 @@ -4,7 +4,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"]
},
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion clients/client-s3/tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"declarationDir": "dist-types"
"declarationDir": "dist-types",
"types": ["mocha", "node"]
},
"exclude": ["test/**/*", "dist-types/**/*"],
"include": ["src/"]
Expand Down

0 comments on commit 430c94b

Please sign in to comment.