diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-04 06:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-04 06:09:07 +0300 |
commit | 44ca34ad66b8b7f54c0c8a8f549aafb7293c8a38 (patch) | |
tree | 2c53ff23c11272b1546d5901c95ce1357bceb5c7 /spec/frontend/grafana_integration | |
parent | b301036d090d8a7365f98a0444d09f8a09664834 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/grafana_integration')
-rw-r--r-- | spec/frontend/grafana_integration/components/grafana_integration_spec.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/frontend/grafana_integration/components/grafana_integration_spec.js b/spec/frontend/grafana_integration/components/grafana_integration_spec.js index 9cb27670c98..540fc597aa9 100644 --- a/spec/frontend/grafana_integration/components/grafana_integration_spec.js +++ b/spec/frontend/grafana_integration/components/grafana_integration_spec.js @@ -28,11 +28,8 @@ describe('grafana integration component', () => { }); afterEach(() => { - if (wrapper.destroy) { - wrapper.destroy(); - createAlert.mockReset(); - refreshCurrentPage.mockReset(); - } + createAlert.mockReset(); + refreshCurrentPage.mockReset(); }); describe('default state', () => { |