Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
58cc7568
Commit
58cc7568
authored
Jun 02, 2021
by
Justin Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up integration list specs
parent
550b1500
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/frontend/integrations/index/components/integrations_list_spec.js
...d/integrations/index/components/integrations_list_spec.js
+3
-3
No files found.
spec/frontend/integrations/index/components/integrations_list_spec.js
View file @
58cc7568
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
extendedWrapper
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
shallowMount
Extended
}
from
'
helpers/vue_test_utils_helper
'
;
import
IntegrationsList
from
'
~/integrations/index/components/integrations_list.vue
'
;
import
{
mockActiveIntegrations
,
mockInactiveIntegrations
}
from
'
../mock_data
'
;
...
...
@@ -10,7 +10,7 @@ describe('IntegrationsList', () => {
const
findInactiveIntegrationsTable
=
()
=>
wrapper
.
findByTestId
(
'
inactive-integrations-table
'
);
const
createComponent
=
(
propsData
=
{})
=>
{
wrapper
=
extendedWrapper
(
shallowMount
(
IntegrationsList
,
{
propsData
})
);
wrapper
=
shallowMountExtended
(
IntegrationsList
,
{
propsData
}
);
};
afterEach
(()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment