Skip to content

Commit 456002c

Browse files
authored
feat: use ts-jest for running jest tests (#2088)
1 parent 64a580e commit 456002c

File tree

360 files changed

+289
-404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

360 files changed

+289
-404
lines changed

clients/client-accessanalyzer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -67,6 +66,7 @@
6766
"downlevel-dts": "0.7.0",
6867
"jest": "^26.1.0",
6968
"rimraf": "^3.0.0",
69+
"ts-jest": "^26.4.1",
7070
"typedoc": "^0.19.2",
7171
"typescript": "~4.1.2"
7272
},

clients/client-acm-pca/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -66,6 +65,7 @@
6665
"downlevel-dts": "0.7.0",
6766
"jest": "^26.1.0",
6867
"rimraf": "^3.0.0",
68+
"ts-jest": "^26.4.1",
6969
"typedoc": "^0.19.2",
7070
"typescript": "~4.1.2"
7171
},

clients/client-acm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -66,6 +65,7 @@
6665
"downlevel-dts": "0.7.0",
6766
"jest": "^26.1.0",
6867
"rimraf": "^3.0.0",
68+
"ts-jest": "^26.4.1",
6969
"typedoc": "^0.19.2",
7070
"typescript": "~4.1.2"
7171
},

clients/client-alexa-for-business/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -67,6 +66,7 @@
6766
"downlevel-dts": "0.7.0",
6867
"jest": "^26.1.0",
6968
"rimraf": "^3.0.0",
69+
"ts-jest": "^26.4.1",
7070
"typedoc": "^0.19.2",
7171
"typescript": "~4.1.2"
7272
},

clients/client-amplify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-amplifybackend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-api-gateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -66,6 +65,7 @@
6665
"downlevel-dts": "0.7.0",
6766
"jest": "^26.1.0",
6867
"rimraf": "^3.0.0",
68+
"ts-jest": "^26.4.1",
6969
"typedoc": "^0.19.2",
7070
"typescript": "~4.1.2"
7171
},

clients/client-apigatewaymanagementapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-apigatewayv2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-app-mesh/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -67,6 +66,7 @@
6766
"downlevel-dts": "0.7.0",
6867
"jest": "^26.1.0",
6968
"rimraf": "^3.0.0",
69+
"ts-jest": "^26.4.1",
7070
"typedoc": "^0.19.2",
7171
"typescript": "~4.1.2"
7272
},

clients/client-appconfig/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-appflow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-appintegrations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -67,6 +66,7 @@
6766
"downlevel-dts": "0.7.0",
6867
"jest": "^26.1.0",
6968
"rimraf": "^3.0.0",
69+
"ts-jest": "^26.4.1",
7070
"typedoc": "^0.19.2",
7171
"typescript": "~4.1.2"
7272
},

clients/client-application-auto-scaling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-application-discovery-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -67,6 +66,7 @@
6766
"downlevel-dts": "0.7.0",
6867
"jest": "^26.1.0",
6968
"rimraf": "^3.0.0",
69+
"ts-jest": "^26.4.1",
7070
"typedoc": "^0.19.2",
7171
"typescript": "~4.1.2"
7272
},

clients/client-application-insights/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-appstream/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -66,6 +65,7 @@
6665
"downlevel-dts": "0.7.0",
6766
"jest": "^26.1.0",
6867
"rimraf": "^3.0.0",
68+
"ts-jest": "^26.4.1",
6969
"typedoc": "^0.19.2",
7070
"typescript": "~4.1.2"
7171
},

clients/client-appsync/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-athena/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -67,6 +66,7 @@
6766
"downlevel-dts": "0.7.0",
6867
"jest": "^26.1.0",
6968
"rimraf": "^3.0.0",
69+
"ts-jest": "^26.4.1",
7070
"typedoc": "^0.19.2",
7171
"typescript": "~4.1.2"
7272
},

clients/client-auditmanager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-auto-scaling-plans/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-auto-scaling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -67,6 +66,7 @@
6766
"downlevel-dts": "0.7.0",
6867
"jest": "^26.1.0",
6968
"rimraf": "^3.0.0",
69+
"ts-jest": "^26.4.1",
7070
"typedoc": "^0.19.2",
7171
"typescript": "~4.1.2"
7272
},

clients/client-backup/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-batch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -65,6 +64,7 @@
6564
"downlevel-dts": "0.7.0",
6665
"jest": "^26.1.0",
6766
"rimraf": "^3.0.0",
67+
"ts-jest": "^26.4.1",
6868
"typedoc": "^0.19.2",
6969
"typescript": "~4.1.2"
7070
},

clients/client-braket/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
77
"build-documentation": "yarn remove-documentation && typedoc ./",
88
"prepublishOnly": "yarn build",
9-
"pretest": "yarn build:cjs",
109
"remove-definitions": "rimraf ./types",
1110
"remove-dist": "rimraf ./dist",
1211
"remove-documentation": "rimraf ./docs",
@@ -67,6 +66,7 @@
6766
"downlevel-dts": "0.7.0",
6867
"jest": "^26.1.0",
6968
"rimraf": "^3.0.0",
69+
"ts-jest": "^26.4.1",
7070
"typedoc": "^0.19.2",
7171
"typescript": "~4.1.2"
7272
},

0 commit comments

Comments
 (0)