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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
9012d309
Commit
9012d309
authored
May 17, 2019
by
Winnie Hellmann
Committed by
Tim Zallmann
May 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase Jest timeout to 500ms
parent
f2cb5220
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
10 deletions
+1
-10
spec/frontend/gfm_auto_complete_spec.js
spec/frontend/gfm_auto_complete_spec.js
+0
-3
spec/frontend/notes/components/discussion_notes_spec.js
spec/frontend/notes/components/discussion_notes_spec.js
+0
-3
spec/frontend/pages/admin/abuse_reports/abuse_reports_spec.js
.../frontend/pages/admin/abuse_reports/abuse_reports_spec.js
+0
-3
spec/frontend/test_setup.js
spec/frontend/test_setup.js
+1
-1
No files found.
spec/frontend/gfm_auto_complete_spec.js
View file @
9012d309
...
@@ -7,11 +7,8 @@ import 'jquery.caret';
...
@@ -7,11 +7,8 @@ import 'jquery.caret';
import
'
at.js
'
;
import
'
at.js
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
setTestTimeout
(
500
);
const
labelsFixture
=
getJSONFixture
(
'
autocomplete_sources/labels.json
'
);
const
labelsFixture
=
getJSONFixture
(
'
autocomplete_sources/labels.json
'
);
describe
(
'
GfmAutoComplete
'
,
()
=>
{
describe
(
'
GfmAutoComplete
'
,
()
=>
{
...
...
spec/frontend/notes/components/discussion_notes_spec.js
View file @
9012d309
...
@@ -8,7 +8,6 @@ import PlaceholderSystemNote from '~/vue_shared/components/notes/placeholder_sys
...
@@ -8,7 +8,6 @@ import PlaceholderSystemNote from '~/vue_shared/components/notes/placeholder_sys
import
SystemNote
from
'
~/vue_shared/components/notes/system_note.vue
'
;
import
SystemNote
from
'
~/vue_shared/components/notes/system_note.vue
'
;
import
TimelineEntryItem
from
'
~/vue_shared/components/notes/timeline_entry_item.vue
'
;
import
TimelineEntryItem
from
'
~/vue_shared/components/notes/timeline_entry_item.vue
'
;
import
createStore
from
'
~/notes/stores
'
;
import
createStore
from
'
~/notes/stores
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
{
import
{
noteableDataMock
,
noteableDataMock
,
discussionMock
,
discussionMock
,
...
@@ -18,8 +17,6 @@ import {
...
@@ -18,8 +17,6 @@ import {
const
localVue
=
createLocalVue
();
const
localVue
=
createLocalVue
();
describe
(
'
DiscussionNotes
'
,
()
=>
{
describe
(
'
DiscussionNotes
'
,
()
=>
{
setTestTimeout
(
500
);
let
wrapper
;
let
wrapper
;
const
createComponent
=
props
=>
{
const
createComponent
=
props
=>
{
...
...
spec/frontend/pages/admin/abuse_reports/abuse_reports_spec.js
View file @
9012d309
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
'
~/lib/utils/text_utility
'
;
import
'
~/lib/utils/text_utility
'
;
import
AbuseReports
from
'
~/pages/admin/abuse_reports/abuse_reports
'
;
import
AbuseReports
from
'
~/pages/admin/abuse_reports/abuse_reports
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
setTestTimeout
(
500
);
describe
(
'
Abuse Reports
'
,
()
=>
{
describe
(
'
Abuse Reports
'
,
()
=>
{
const
FIXTURE
=
'
abuse_reports/abuse_reports_list.html
'
;
const
FIXTURE
=
'
abuse_reports/abuse_reports_list.html
'
;
...
...
spec/frontend/test_setup.js
View file @
9012d309
...
@@ -15,7 +15,7 @@ afterEach(() =>
...
@@ -15,7 +15,7 @@ afterEach(() =>
}),
}),
);
);
initializeTestTimeout
(
3
00
);
initializeTestTimeout
(
5
00
);
// fail tests for unmocked requests
// fail tests for unmocked requests
beforeEach
(
done
=>
{
beforeEach
(
done
=>
{
...
...
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