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
b1186965
Commit
b1186965
authored
Apr 06, 2022
by
Eulyeon Ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply reviewer suggestions
parent
a8e8f502
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
ee/spec/frontend/iterations/components/iteration_form_spec.js
...pec/frontend/iterations/components/iteration_form_spec.js
+2
-4
ee/spec/frontend/iterations/components/iteration_form_without_vue_router_spec.js
...ions/components/iteration_form_without_vue_router_spec.js
+2
-4
No files found.
ee/spec/frontend/iterations/components/iteration_form_spec.js
View file @
b1186965
...
...
@@ -240,10 +240,8 @@ describe('Iteration Form', () => {
await
waitForPromises
();
// There is no good way to test these from the UI output
// as we can't reliably set arbitrary timezone.
expect
(
wrapper
.
vm
.
startDate
.
getTimezoneOffset
()).
toBe
(
0
);
expect
(
wrapper
.
vm
.
dueDate
.
getTimezoneOffset
()).
toBe
(
0
);
expect
(
findStartDate
().
props
(
'
value
'
).
getTimezoneOffset
()).
toBe
(
0
);
expect
(
findDueDate
().
props
(
'
value
'
).
getTimezoneOffset
()).
toBe
(
0
);
});
it
(
'
prefills form fields
'
,
async
()
=>
{
...
...
ee/spec/frontend/iterations/components/iteration_form_without_vue_router_spec.js
View file @
b1186965
...
...
@@ -172,10 +172,8 @@ describe('Iteration Form', () => {
props
:
propsWithIteration
,
});
// There is no good way to test these from the UI output
// as we can't reliably set arbitrary timezone.
expect
(
wrapper
.
vm
.
startDate
.
getTimezoneOffset
()).
toBe
(
0
);
expect
(
wrapper
.
vm
.
dueDate
.
getTimezoneOffset
()).
toBe
(
0
);
expect
(
findStartDate
().
props
(
'
value
'
).
getTimezoneOffset
()).
toBe
(
0
);
expect
(
findDueDate
().
props
(
'
value
'
).
getTimezoneOffset
()).
toBe
(
0
);
});
it
(
'
prefills form fields
'
,
()
=>
{
...
...
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