Commit b3311e0d authored by Mark Florian's avatar Mark Florian

Merge branch 'himkp-fix-eslint' into 'master'

Fix eslint issues related to no-sequences

See merge request gitlab-org/gitlab!68960
parents 2310478e 341cc363
......@@ -152,7 +152,7 @@ describe('EpicHeaderComponent', () => {
expect(toggleButton.exists()).toBeTruthy();
expect(toggleButton.attributes('aria-label')).toBe('Toggle sidebar');
expect(toggleButton.classes()).toEqual(
expect.arrayContaining([('d-block', 'd-sm-none', 'gutter-toggle')]),
expect.arrayContaining(['gl-display-block', 'd-sm-none', 'gutter-toggle']),
);
});
......
......@@ -99,10 +99,14 @@ describe('LeaveModal', () => {
});
});
it("does NOT display oncall schedules list when member's user is NOT a part of on-call schedules ", () => {
it("does NOT display oncall schedules list when member's user is NOT a part of on-call schedules ", async () => {
wrapper.destroy();
const memberWithoutOncallSchedules = cloneDeep(member);
delete (memberWithoutOncallSchedules, 'user.oncallSchedules');
delete memberWithoutOncallSchedules.user.oncallSchedules;
createComponent({ member: memberWithoutOncallSchedules });
await nextTick();
expect(findOncallSchedulesList().exists()).toBe(false);
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment