diff options
Diffstat (limited to 'spec/frontend/repository/components/table/index_spec.js')
-rw-r--r-- | spec/frontend/repository/components/table/index_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/repository/components/table/index_spec.js b/spec/frontend/repository/components/table/index_spec.js index 07c151ad935..ff0371b5c07 100644 --- a/spec/frontend/repository/components/table/index_spec.js +++ b/spec/frontend/repository/components/table/index_spec.js @@ -1,4 +1,4 @@ -import { GlDeprecatedSkeletonLoading as GlSkeletonLoading, GlButton } from '@gitlab/ui'; +import { GlSkeletonLoader, GlButton } from '@gitlab/ui'; import { shallowMount } from '@vue/test-utils'; import { nextTick } from 'vue'; import Table from '~/repository/components/table/index.vue'; @@ -103,7 +103,7 @@ describe('Repository table component', () => { it('shows loading icon', () => { factory({ path: '/', isLoading: true }); - expect(vm.find(GlSkeletonLoading).exists()).toBe(true); + expect(vm.findComponent(GlSkeletonLoader).exists()).toBe(true); }); it('renders table rows', () => { |