-
Notifications
You must be signed in to change notification settings - Fork 510
fix(test): adjust mocks and test helpers #15754
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
Conversation
src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.spec.js
Outdated
Show resolved
Hide resolved
467a0f8 to
23f6d04
Compare
| provide: { | ||
| [HAS_APP_NAVIGATION_KEY]: () => {}, | ||
| [NC_ACTIONS_CLOSE_MENU]: () => {}, | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just thinking in loud
Maybe we need to find some workaround here. If it would be non-exported Symbol and not Symbol.for the current workaround wouldn't even work.
An idea I had was to suppress [warn] Vue logs about injection.
Another idea - provide a general test wrapper.
src/components/MessagesList/MessagesGroup/Message/Message.spec.js
Outdated
Show resolved
Hide resolved
cb27eff to
d7b0fce
Compare
Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
DorraJaouad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦅
Signed-off-by: Maksim Sukharev <[email protected]>
23f6d04 to
5136058
Compare
☑️ Resolves
🖌️ UI Checklist
🏁 Checklist