Skip to content

Commit b2546dc

Browse files
authored
Merge pull request #581 from gemini-testing/TESTPLANE-135.pwt_import_ts_config
fix(pwt): correctly import ts config with types
2 parents e7ac847 + bf26015 commit b2546dc

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

lib/bundle/transformer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const setupTransformHook = (): VoidFunction => {
1010
babelrc: false,
1111
configFile: false,
1212
compact: false,
13+
presets: [require('@babel/preset-typescript')],
1314
plugins: [
1415
require('@babel/plugin-transform-modules-commonjs')
1516
]

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
"license": "MIT",
6868
"peerDependencies": {
6969
"hermione": ">=8.0.0",
70-
"testplane": "*",
71-
"playwright": "*"
70+
"playwright": "*",
71+
"testplane": "*"
7272
},
7373
"peerDependenciesMeta": {
7474
"hermione": {
@@ -83,6 +83,7 @@
8383
},
8484
"dependencies": {
8585
"@babel/runtime": "^7.22.5",
86+
"@gemini-testing/commander": "^2.15.3",
8687
"@gemini-testing/sql.js": "^2.0.0",
8788
"ansi-html-community": "^0.0.8",
8889
"axios": "1.6.3",
@@ -122,7 +123,6 @@
122123
"@babel/preset-env": "^7.22.5",
123124
"@babel/preset-react": "^7.22.5",
124125
"@babel/preset-typescript": "^7.22.5",
125-
"@gemini-testing/commander": "^2.15.3",
126126
"@gravity-ui/components": "^3.7.0",
127127
"@gravity-ui/uikit": "^6.20.0",
128128
"@playwright/test": "^1.44.1",

0 commit comments

Comments
 (0)