Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1,426
Issues
1,426
List
Boards
Labels
Milestones
Merge Requests
49
Merge Requests
49
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
d6d56623
Commit
d6d56623
authored
Apr 05, 2018
by
Mathieu Giraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js/clone.js, tests: typos, clean
parent
c5152235
Pipeline
#21403
failed with stages
in 7 minutes
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
browser/js/clone.js
browser/js/clone.js
+0
-2
browser/test/QUnit/testFiles/clone_test.js
browser/test/QUnit/testFiles/clone_test.js
+1
-1
No files found.
browser/js/clone.js
View file @
d6d56623
...
...
@@ -106,8 +106,6 @@ Clone.prototype = {
computeWarnings
:
function
()
{
console
.
log
(
this
.
coverage
)
if
(
this
.
coverage
<
this
.
COVERAGE_WARN
)
this
.
warn
.
push
({
'
code
'
:
'
W51
'
,
'
level
'
:
warnLevels
[
WARN
],
'
msg
'
:
'
Low coverage (
'
+
this
.
coverage
.
toFixed
(
3
)
+
'
)
'
})
;
...
...
browser/test/QUnit/testFiles/clone_test.js
View file @
d6d56623
...
...
@@ -140,7 +140,7 @@ QUnit.test("name, informations, getHtmlInfo", function(assert) {
assert
.
equal
(
c1
.
isWarned
(),
'
warn
'
,
"
clone1 is warned (client, bad e-value)
"
)
assert
.
equal
(
c2
.
isWarned
(),
false
,
"
clone2 is not warned (only 'info')
"
)
assert
.
equal
(
c3
.
isWarned
(),
'
warn
'
,
"
clone3 is warned with 'warn'
"
)
assert
.
equal
(
c4
.
isWarned
(),
'
error
'
,
"
clone
3
is warned with 'error'
"
)
assert
.
equal
(
c4
.
isWarned
(),
'
error
'
,
"
clone
4
is warned with 'error'
"
)
assert
.
equal
(
c5
.
isWarned
(),
false
,
"
clone5 is not warned
"
)
assert
.
equal
(
c3
.
getSequenceName
(),
"
custom name
"
,
"
get name clone3 : custom name
"
);
...
...
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