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 types #1038

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Fix types #1038

merged 2 commits into from
Dec 2, 2024

Conversation

DudaGod
Copy link
Member

@DudaGod DudaGod commented Dec 2, 2024

No description provided.

@@ -128,8 +128,94 @@ export interface ExpectOptsConfig {
interval: number;
}

export interface MochaOpts extends Omit<Mocha.MochaOptions, "ui"> {
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove Mocha.MochaOptions in order to not get conflicts in it, describe etc. Reproduced when service has @types/mocha module (can be installed as dependencies from some other module).

@@ -260,9 +346,13 @@ export interface SetsConfigParsed {
browsers: Array<string>;
}

type PartialCommonConfig = Partial<Omit<CommonConfig, "system">> & {
system?: Partial<SystemConfig>;
Copy link
Member Author

Choose a reason for hiding this comment

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

Field system should not require specifying all fields

@DudaGod DudaGod merged commit cb9563b into master Dec 2, 2024
2 checks passed
@DudaGod DudaGod deleted the TESTPLANE-351.fix_types_3 branch December 2, 2024 22:43
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