Skip to content

Commit

Permalink
feat: use ts-jest for running jest tests (#2088)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Mar 19, 2021
1 parent 64a580e commit 456002c
Show file tree
Hide file tree
Showing 360 changed files with 289 additions and 404 deletions.
2 changes: 1 addition & 1 deletion clients/client-accessanalyzer/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -67,6 +66,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm-pca/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -66,6 +65,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -66,6 +65,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-alexa-for-business/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -67,6 +66,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-amplify/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-amplifybackend/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-api-gateway/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -66,6 +65,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-apigatewaymanagementapi/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-apigatewayv2/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-app-mesh/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -67,6 +66,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appconfig/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appflow/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appintegrations/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -67,6 +66,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-application-auto-scaling/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-application-discovery-service/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -67,6 +66,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-application-insights/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appstream/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -66,6 +65,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appsync/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-athena/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -67,6 +66,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-auditmanager/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-auto-scaling-plans/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-auto-scaling/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -67,6 +66,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-backup/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-batch/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -65,6 +64,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/client-braket/package.json
Expand Up @@ -6,7 +6,6 @@
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build",
"pretest": "yarn build:cjs",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
Expand Down Expand Up @@ -67,6 +66,7 @@
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
Expand Down

0 comments on commit 456002c

Please sign in to comment.