Skip to content
Snippets Groups Projects
Verified Commit 21957d46 authored by Denys Mishunov's avatar Denys Mishunov :palm_tree: Committed by GitLab
Browse files

Merge branch '481788-vue3-migration-dora_performers_score_spec' into 'master'

Fix Vue3 tests failures

See merge request !164416



Merged-by: Denys Mishunov's avatarDenys Mishunov <dmishunov@gitlab.com>
Approved-by: Rajan Mistry's avatarRajan Mistry <rmistry@gitlab.com>
Approved-by: Denys Mishunov's avatarDenys Mishunov <dmishunov@gitlab.com>
Co-authored-by: default avatarArtur Fedorov <afedorov@gitlab.com>
parents 8fde0034 52746cee
No related branches found
No related tags found
1 merge request!164416Fix Vue3 tests failures
Pipeline #1436221043 passed with warnings
......@@ -17,18 +17,6 @@ describe('DoraPerformersScore Visualization', () => {
const namespace = 'some/fake/path';
const mockNamespaceProvider = (args = {}) => ({
render() {
return this.$scopedSlots.default({
group: mockGroup,
project: null,
isProject: false,
isNamespaceLoading: false,
...args,
});
},
});
const createWrapper = ({ props = {}, group = null, project = null, stubs } = {}) => {
mockGroupOrProjectRequestHandler = jest.fn().mockReturnValueOnce({ data: { group, project } });
......@@ -55,7 +43,6 @@ describe('DoraPerformersScore Visualization', () => {
it('displays a loading state', () => {
createWrapper({
group: mockGroup,
stubs: { GroupOrProjectProvider: mockNamespaceProvider({ isNamespaceLoading: true }) },
});
expect(findLoadingIcon().exists()).toBe(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment