BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6176ca37
Commit
6176ca37
authored
Apr 25, 2017
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change comp timeout to 0ms and test timeout to 10ms
parent
b4e2f9f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
issue_title_description.vue
...assets/javascripts/issue_show/issue_title_description.vue
+1
-1
issue_title_description_spec.js
spec/javascripts/issue_show/issue_title_description_spec.js
+2
-3
No files found.
app/assets/javascripts/issue_show/issue_title_description.vue
View file @
6176ca37
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
});
});
clearTimeout
(
this
.
timeoutId
);
clearTimeout
(
this
.
timeoutId
);
},
10
0
);
},
0
);
},
},
},
},
computed
:
{
computed
:
{
...
...
spec/javascripts/issue_show/issue_title_description_spec.js
View file @
6176ca37
...
@@ -8,7 +8,6 @@ import issueShowData from './mock_data';
...
@@ -8,7 +8,6 @@ import issueShowData from './mock_data';
window
.
$
=
$
;
window
.
$
=
$
;
const
issueShowInterceptor
=
(
request
,
next
)
=>
{
const
issueShowInterceptor
=
(
request
,
next
)
=>
{
console
.
log
(
issueShowData
);
next
(
request
.
respondWith
(
JSON
.
stringify
(
issueShowData
),
{
next
(
request
.
respondWith
(
JSON
.
stringify
(
issueShowData
),
{
status
:
200
,
status
:
200
,
}));
}));
...
@@ -43,7 +42,7 @@ describe('Issue Title', () => {
...
@@ -43,7 +42,7 @@ describe('Issue Title', () => {
expect
(
issueShowComponent
.
$el
.
querySelector
(
'.title'
).
innerHTML
)
expect
(
issueShowComponent
.
$el
.
querySelector
(
'.title'
).
innerHTML
)
.
toContain
(
'this is a title'
);
.
toContain
(
'this is a title'
);
done
();
done
();
},
30
0
);
},
1
0
);
//
300 is just three times the Vue comps setTimeout to ensure pass
//
10ms is just long enough for the update hook to fire
});
});
});
});
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