Skip to content

feat!: add async function config support#1273

Open
KuznetsovRoman wants to merge 1 commit into
testplane@9from
TESTPLANE-178.config_async
Open

feat!: add async function config support#1273
KuznetsovRoman wants to merge 1 commit into
testplane@9from
TESTPLANE-178.config_async

Conversation

@KuznetsovRoman
Copy link
Copy Markdown
Member

No description provided.

Comment thread src/cli/index.ts

const configPath = preparseOption(program, "config") as string;
testplane = Testplane.create(configPath);
testplane = await Testplane.create(configPath);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testplane.create is now async, because config is parsed inside of it

const installBrowsers_ = async (argv: string = ""): Promise<void> => {
process.argv = ["foo/bar/node", "foo/bar/script", "install-deps", ...argv.split(" ")].filter(Boolean);
cli.run();
await cli.run();
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cli.run was always async

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

✅ Testplane E2E run succeed

Report

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

✅ Testplane browser-env run succeed

Report

@KuznetsovRoman KuznetsovRoman force-pushed the TESTPLANE-178.config_async branch from d7cc930 to 497c7c2 Compare June 4, 2026 07:25
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 4, 2026

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/testplane@1273

commit: 497c7c2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants