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: show raw storyfile import warning #23

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Conversation

KuznetsovRoman
Copy link
Member

No description provided.

Comment on lines +148 to +150
if (filename === except) {
return originalModule(m, filename);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Отключаем логику "если не получилось, то замокай" для основного файла - файла со сторей
Без этого получали бы на выходе мок.

Comment on lines +83 to +84
if (!loggedStoryFileRequireError) {
loggedStoryFileRequireError = true;
Copy link
Member Author

Choose a reason for hiding this comment

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

Добавил тут такое условие, чтобы логов не было слишком много. Помню, такое реквестили.

Copy link
Member

@DudaGod DudaGod left a comment

Choose a reason for hiding this comment

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

🔥

@KuznetsovRoman KuznetsovRoman merged commit d702834 into master Sep 12, 2024
2 checks passed
@KuznetsovRoman KuznetsovRoman deleted the INFRADUTY-27736 branch September 12, 2024 12:57
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