summaryrefslogtreecommitdiff
path: root/spec/frontend/sidebar/participants_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/sidebar/participants_spec.js')
-rw-r--r--spec/frontend/sidebar/participants_spec.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/frontend/sidebar/participants_spec.js b/spec/frontend/sidebar/participants_spec.js
index 1210f7c9531..94cdbe7f2ef 100644
--- a/spec/frontend/sidebar/participants_spec.js
+++ b/spec/frontend/sidebar/participants_spec.js
@@ -85,6 +85,8 @@ describe('Participants', () => {
numberOfLessParticipants,
});
+ // setData usage is discouraged. See https://gitlab.com/groups/gitlab-org/-/epics/7330 for details
+ // eslint-disable-next-line no-restricted-syntax
wrapper.setData({
isShowingMoreParticipants: false,
});
@@ -101,6 +103,8 @@ describe('Participants', () => {
numberOfLessParticipants: 2,
});
+ // setData usage is discouraged. See https://gitlab.com/groups/gitlab-org/-/epics/7330 for details
+ // eslint-disable-next-line no-restricted-syntax
wrapper.setData({
isShowingMoreParticipants: true,
});
@@ -129,6 +133,8 @@ describe('Participants', () => {
numberOfLessParticipants: 2,
});
+ // setData usage is discouraged. See https://gitlab.com/groups/gitlab-org/-/epics/7330 for details
+ // eslint-disable-next-line no-restricted-syntax
wrapper.setData({
isShowingMoreParticipants: false,
});
@@ -145,6 +151,8 @@ describe('Participants', () => {
numberOfLessParticipants: 2,
});
+ // setData usage is discouraged. See https://gitlab.com/groups/gitlab-org/-/epics/7330 for details
+ // eslint-disable-next-line no-restricted-syntax
wrapper.setData({
isShowingMoreParticipants: true,
});