Skip to content

Commit c1916ee

Browse files
committed
fix: get test runner working on vercel
1 parent 84b82bd commit c1916ee

File tree

5 files changed

+19
-14
lines changed

5 files changed

+19
-14
lines changed

packages/infra/engine/tests/common/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl TestRunner {
2525

2626
let manifest_dir = env!("CARGO_MANIFEST_DIR");
2727
let runner_script_path =
28-
Path::new(manifest_dir).join("../../../sdks/typescript/test-runner/dist/main.js");
28+
Path::new(manifest_dir).join("../../../sdks/typescript/test-runner/dist/index.js");
2929

3030
if !runner_script_path.exists() {
3131
panic!(

sdks/typescript/test-runner/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/typescript/test-runner/package.json

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

sdks/typescript/test-runner/src/main.ts renamed to sdks/typescript/test-runner/src/index.ts

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

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"allowSyntheticDefaultImports": true,
99
"stripInternal": true,
1010
"moduleResolution": "bundler",
11-
"lib": ["ESNext"],
11+
"lib": ["ESNext", "DOM"],
1212
"types": ["node"]
1313
}
1414
}

0 commit comments

Comments
 (0)