Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correctly disable test execution timeout in repl mode #830

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

DudaGod
Copy link
Member

@DudaGod DudaGod commented Jan 23, 2024

When implementing REPL mode, I added disabling the timeout in config.system.mochaOpts.timeout, but I forgot about disabling testTimeout so in this PR I fixed it.

@@ -51,7 +52,9 @@ function extendWithBrowserVersion({ treeBuilder, config }) {

function extendWithTimeout({ treeBuilder, config }) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Данная функция отвечает за установку testTimeout из конфига для каждого теста.

@@ -17,6 +18,12 @@ export class ConfigController {
}

testTimeout(timeout: number): this {
Copy link
Member Author

Choose a reason for hiding this comment

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

Отвечает за hermione.config.testTimeout(100500) перед тестом или сьютом

Copy link
Member

@KuznetsovRoman KuznetsovRoman left a comment

Choose a reason for hiding this comment

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

/ok

@DudaGod DudaGod force-pushed the HERMIONE-1351.fix_disable_test_timeout_on_repl branch from 6980c44 to bc91823 Compare January 24, 2024 15:13
@DudaGod DudaGod merged commit 1f6ec41 into master Jan 24, 2024
2 checks passed
@DudaGod DudaGod deleted the HERMIONE-1351.fix_disable_test_timeout_on_repl branch January 24, 2024 15:22
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.

None yet

3 participants