-
Notifications
You must be signed in to change notification settings - Fork 85
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
test: move helpers from common.js to helpers.js #5368
Conversation
Kudos, SonarCloud Quality Gate passed!
|
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.
LGTM 👍
{ id: 'c', name: 'Admin', colorIndex: 2, fieldIndex: 0 }, | ||
]; | ||
|
||
export const setUsers = (field) => { |
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.
It's a great idea to separate common.js
and helpers.js
in this case 💪
Hi @vursen , this commit cannot be picked to 23.3 by this bot, can you take a look and pick it manually? |
Hi @vursen , this commit cannot be picked to 23.2 by this bot, can you take a look and pick it manually? |
This ticket/PR has been released with Vaadin 24.0.0.alpha10 and is also targeting the upcoming stable 24.0.0 version. |
Description
Moved test helpers from
common.js
tohelpers.js
to make it consistent across the packages.The basic rule:
common.js
should be used for sharing global code with side effects e.g. global styles for visual tests.helpers.js
should be used for sharing helper functions.Type of change