Skip to content

Conversation

@SwinX
Copy link
Collaborator

@SwinX SwinX commented Nov 26, 2025

Added default for dumpsFilePath
Default is formed as testInfo.titlePath with some alternations Removed slugs from initDumps. If user want to include slug in dumps file path, he must override dumpsFilePath manually

Added default for dumpsFilePath
Default is formed as testInfo.titlePath with some alternations
Removed slugs from initDumps. If user want to include slug in
dumps file path, he must override dumpsFilePath manually
* @returns string path to dump file
*/
dumpsFilePath?: (params: { testInfo: TestInfo; slug: string; zip: boolean }) => string;
dumpsFilePath?: (params: { testInfo: TestInfo; zip: boolean }) => string;
Copy link

Choose a reason for hiding this comment

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

Slug is a part of this package and I think we should provide an implementation of the path builder similar to the previous one, with slug. Something like dumpsPathWithSlugBuilder in a separate module. So users would be able to import it and use as a value for a dumpsFilePath during migration to this package.

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.

3 participants