diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-26 00:10:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-26 00:10:30 +0300 |
commit | 97cdd36a0b70b11e2592f3f63f7aca83342c8dfa (patch) | |
tree | 6169cbeea88584c9dfac8afa5ea4a6c6d7dd3206 /spec/frontend/environments | |
parent | 2b349d9a94f00320a82e24be96ee8aeda9135702 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/environments')
-rw-r--r-- | spec/frontend/environments/environment_pin_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/environments/environment_pin_spec.js b/spec/frontend/environments/environment_pin_spec.js index b0133f7ca5d..f48091adb44 100644 --- a/spec/frontend/environments/environment_pin_spec.js +++ b/spec/frontend/environments/environment_pin_spec.js @@ -1,5 +1,5 @@ import { shallowMount } from '@vue/test-utils'; -import { GlDeprecatedButton, GlIcon } from '@gitlab/ui'; +import { GlButton, GlIcon } from '@gitlab/ui'; import eventHub from '~/environments/event_hub'; import PinComponent from '~/environments/components/environment_pin.vue'; @@ -36,7 +36,7 @@ describe('Pin Component', () => { it('should emit onPinClick when clicked', () => { const eventHubSpy = jest.spyOn(eventHub, '$emit'); - const button = wrapper.find(GlDeprecatedButton); + const button = wrapper.find(GlButton); button.vm.$emit('click'); |