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
258a2a7b
Commit
258a2a7b
authored
Feb 19, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix broken specs
parent
dcef3bed
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/pages/projects/graphs/show/stat_graph_contributors_graph.js
...ges/projects/graphs/show/stat_graph_contributors_graph.js
+1
-1
spec/javascripts/graphs/stat_graph_contributors_graph_spec.js
.../javascripts/graphs/stat_graph_contributors_graph_spec.js
+1
-1
spec/javascripts/graphs/stat_graph_contributors_spec.js
spec/javascripts/graphs/stat_graph_contributors_spec.js
+2
-2
spec/javascripts/graphs/stat_graph_contributors_util_spec.js
spec/javascripts/graphs/stat_graph_contributors_util_spec.js
+1
-1
No files found.
app/assets/javascripts/pages/projects/graphs/show/stat_graph_contributors_graph.js
View file @
258a2a7b
...
...
@@ -7,7 +7,7 @@ import { axisLeft, axisBottom } from 'd3-axis';
import
{
area
}
from
'
d3-shape
'
;
import
{
brushX
}
from
'
d3-brush
'
;
import
{
timeParse
}
from
'
d3-time-format
'
;
import
{
dateTickFormat
}
from
'
..
/lib/utils/tick_formats
'
;
import
{
dateTickFormat
}
from
'
~
/lib/utils/tick_formats
'
;
const
d3
=
{
extent
,
max
,
select
,
scaleTime
,
scaleLinear
,
axisLeft
,
axisBottom
,
area
,
brushX
,
timeParse
};
...
...
spec/javascripts/graphs/stat_graph_contributors_graph_spec.js
View file @
258a2a7b
/* eslint-disable quotes, jasmine/no-suite-dupes, vars-on-top, no-var */
import
{
scaleLinear
,
scaleTime
}
from
'
d3-scale
'
;
import
{
timeParse
}
from
'
d3-time-format
'
;
import
{
ContributorsGraph
,
ContributorsMasterGraph
}
from
'
~/
graphs
/stat_graph_contributors_graph
'
;
import
{
ContributorsGraph
,
ContributorsMasterGraph
}
from
'
~/
pages/projects/graphs/show
/stat_graph_contributors_graph
'
;
const
d3
=
{
scaleLinear
,
scaleTime
,
timeParse
};
...
...
spec/javascripts/graphs/stat_graph_contributors_spec.js
View file @
258a2a7b
import
ContributorsStatGraph
from
'
~/
graphs
/stat_graph_contributors
'
;
import
{
ContributorsGraph
}
from
'
~/
graphs
/stat_graph_contributors_graph
'
;
import
ContributorsStatGraph
from
'
~/
pages/projects/graphs/show
/stat_graph_contributors
'
;
import
{
ContributorsGraph
}
from
'
~/
pages/projects/graphs/show
/stat_graph_contributors_graph
'
;
import
{
setLanguage
}
from
'
../helpers/locale_helper
'
;
...
...
spec/javascripts/graphs/stat_graph_contributors_util_spec.js
View file @
258a2a7b
/* eslint-disable quotes, no-var, camelcase, object-property-newline, comma-dangle, max-len, vars-on-top, quote-props */
import
ContributorsStatGraphUtil
from
'
~/
graphs
/stat_graph_contributors_util
'
;
import
ContributorsStatGraphUtil
from
'
~/
pages/projects/graphs/show
/stat_graph_contributors_util
'
;
describe
(
"
ContributorsStatGraphUtil
"
,
function
()
{
describe
(
"
#parse_log
"
,
function
()
{
...
...
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